✓ <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #4 from ✓ <> 2010-12-01 16:37:38 UTC ---
Hm, how about a more general event for ajax subjects? I thought about passing
the new elements as a parameter to bound functions. Just like

$j( mw ).trigger( "AjaxLoadDone", {
   ajaxtype: "LivePreview",
   elements: copyElements,
   region: "content"
} );

respectively here

$j( mw ).trigger( "AjaxLoadDone", {
   ajaxtype: "DiffContentloader",
   elements: "#mw-fr-revisioncontents",
   region: "content"
} );

For "region" I propose values as sidebar, content, interwiki, categories...
So then every function just has to check "region" and potentially "elements",
instead of binding its handlers to every single (unknown?) load-event.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to