Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Dev] setAttrs quiet:true not working anymore

1458098900

Edited 1458098966
chris b.
Pro
Sheet Author
API Scripter
This afternoon on DEV i noticed that passing {quiet:true} to setAttrs ceased functioning, and it was was still causing eventhandlers to fire. This was not happening .. last time I checked (not sure when exactly ),  but i know it is not happening in Prod at least as of yesterday. for example, given: somefunction(){ setAttrs({"a":"b"}, {quiet:true}); } on("change:a",function(){console.log("hello world!");}); when somefunction is called, hello world should NOT be printed to the log since quiet is true. And in prod it is not. but in DEV right now it is.
1458152949
Phil B.
Forum Champion
Sheet Author
You mean { silent: true }?
1458153509

Edited 1458229830
chris b.
Pro
Sheet Author
API Scripter
According to Riley at this post it is quiet <a href="https://app.roll20.net/forum/permalink/2982850/" rel="nofollow">https://app.roll20.net/forum/permalink/2982850/</a> is it supposed to be silent instead? the wiki is silent on the matter &nbsp;&nbsp; <a href="https://wiki.roll20.net/Sheet_Worker_Scripts" rel="nofollow">https://wiki.roll20.net/Sheet_Worker_Scripts</a> it doesn't even mention the new params so i only have Riley's post to go on
1458229879

Edited 1458230047
chris b.
Pro
Sheet Author
API Scripter
I guess I will assume it is "silent" not "quiet" can you tell someone to update the wiki in that case, because right now it says nothing, and if you search the forums, you only find a reference to "quiet" and nothing for "silent"&nbsp; thanks.
1458234273
Phil B.
Forum Champion
Sheet Author
Yeah, he probably misspoke, because when I tested it silent: true worked and quiet: true did not. I will go and update the wiki at some point today, thanks for pointing that out.