https://bugzilla.wikimedia.org/show_bug.cgi?id=31511
--- Comment #11 from [email protected] 2011-10-10 09:45:56 UTC --- Created attachment 9207 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9207 Toolbar after moving some JS code to $(document).ready It is odd, but the proposed change actually adds the buttons two times! PS: On this version I've changed my /common.js to remove all default buttons and include the first two again, but in the middle of the extra buttons. The code is the following (and works in the dewiki version without enabling ResourceLoader): var customEditButtons = "SM,0,1,MY1,MY2"; var rmEditButtons = ['all']; var myButtons = { 'MY1':['//upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png','Vote *pro*',"# {{pro}} ","",''], 'MY2':['//upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png','Vote *contra*',"# {{contra}} ","",''] }; -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
