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

--- Comment #3 from Michael M. <[email protected]> 2011-07-30 07:22:41 UTC 
---
Created attachment 8846
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8846
Proposed patch

The warning is shown by the beforeunload handler, but this handler is removed
when any form is submitted though it should be removed only if the editform is
submitted.
The patch fixes this. Additionally I used mw.config.get for the global variable
and changed some other stuff (mediaWiki -> mw, size() -> length, === for
comparison to 0).

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

Reply via email to