https://bugzilla.wikimedia.org/show_bug.cgi?id=35294
Web browser: ---
Bug #: 35294
Summary: byteLimit cannot be set to two objects in one call
Product: MediaWiki
Version: 1.19
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: ---
r110209 sets the following line
$( '#wpReason, #wpNewTitleMain' ).byteLimit();
but that adds the maxlength of #wpNewTitleMain (255) also to #wpReason and the
own maxlength of #wpReason (200) is not used. When #wpNewTitleMain is removed
from dom before the above line is executed, the line adds -1 to #wpReason,
which break at least Opera 11 (you cannot input anything in #wpReason).
Please fix byteLimit to handle the maxLenght of each id seperatly. 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