https://bugzilla.wikimedia.org/show_bug.cgi?id=28668
Bug #: 28668
Summary: Narayam input method does not take effect in many
input boxes
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Narayam
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
The Narayam input method doesn't take effect in a lot of input fields,
including but not limited to:
* Search box
* edit summary
* real name, signature on prefs
* reason box on deletion
These appear to have no type attribute, which seems to cause them not to match
any of these selectors:
$.narayam.addInputs( 'input[type=text], input[type=search], input[type=],
textarea' );
Changing 'input[type=]' to 'input' fixes them, but would presumably also try to
apply to checkboxes, radios, etc. Either needs a selector to match things with
*no* type attribute, or just hit them all and let the setup function worry
about changing them.
More generally though, I suspect that the current bindings will fail to engage
when inputs or textareas are added later, for instance by a popup dialog.
Instead of binding events on every individual input field, it might be wise to
do some kind of global .live() check on focus/blur to activate the keyboard
bindings on a given field.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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