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

Matthew Flaschen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Assignee|[email protected]           |[email protected]

--- Comment #9 from Matthew Flaschen <[email protected]> ---
Unfortunately, that didn't quite work.  WikiEditor is using $.eachAsync (from
jquery.async.js in core) to build the toolbar.  That uses setTimeout
internally, so even if our document.ready is registered after theirs, the
toolbar setup could finish any time after.

I've made a one-line Gerrit to WikiEditor (pending review) at
https://gerrit.wikimedia.org/r/#/c/46490/ .  It simply triggers an event to let
other code know when it's done asynchronously building the initial toolbar
sections (which shift the vertical layout).

I have a Gerrit change to have GuidedTour listen to the new event (we should
keep the document.ready in Guiders proper, for other situations).
https://gerrit.wikimedia.org/r/#/c/46491/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to