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

Roan Kattouw <[email protected]> changed:

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

--- Comment #1 from Roan Kattouw <[email protected]> ---
Holy crap this is an obscure bug. Steps 3 and 4 (switching to source mode the
first time) can be skipped, but other than that every step is necessary.

This happens because the switch to source mode button and the cancel button
share the same instance of the confirmation dialog. When you click OK in the
source mode one, the cancel button code is still listening to the 'ok' event;
we need to disconnect that on cancel.

Perhaps it would be nicer if these two were combined into one event so we could
use .once() and not have to unbind explicitly.

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