https://bugzilla.wikimedia.org/show_bug.cgi?id=39353
Web browser: ---
Bug #: 39353
Summary: jQuery byteLimit plugin should allow to reset limit
when called again with a different value
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, each time, $node.byteLimit(number) is executed, a new handler is
attached. That's not good practise for a jQuery-plugIn. It should use its own
namespace (.bind('keypress.byteLimit')) and do .unbind('keypress.byteLimit')
before assigning the next handler.
Please implement this before Bug 29467 because it isn't funny to unbind all
events myself, especially if the event-handlers have now own namespace. Thanks!
--
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