https://bugzilla.wikimedia.org/show_bug.cgi?id=28574
--- Comment #4 from [email protected] 2011-07-13 19:15:48 UTC --- Created attachment 8779 --> https://bugzilla.wikimedia.org/attachment.cgi?id=8779 Screenshot of error console on Google Chrome (In reply to comment #3) > Not really. Although we can add the buttons to the toolbar using a code like > the one attached to this bug, the functions "pr_toggle_visibility" and > "pr_toggle_layout" are not available for use on gadgets and user scripts, > raising errors on error console. See the screenshot. I think if you define those functions by means of e.g. self.pr_toggle_visibility = function() instead of function pr_toggle_visibility() then users could fix the bug locally without having to copy the whole proofread.js file. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
