https://bugzilla.wikimedia.org/show_bug.cgi?id=20125





--- Comment #9 from Roan Kattouw <[email protected]>  2009-08-11 14:28:26 
UTC ---
(In reply to comment #8)
> (In reply to comment #7)
> > javascript:function c(x){x.a=1;}var o={};c(o);alert(o.a);
> > 
> > This says 1.
> > 
> 
> Holy crap, that actually works :O Added parameter in r54711. Usage:
> 
> $(document).bind('toolbarConfig', function(event, config) {
>         // config is the editToolbarConfiguration object
>         // Note that it's the 2nd parameter
> });
> 

Please note that a different API for adding, modifying and removing toolbar
controls is underway and the above will soon be obsolete. Apologies for any
inconvenience caused.


-- 
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

Reply via email to