mediawiki-extensions-Visual.../modules/ve
Trevor Parscal c32564f36d Text input widget enter event
Objective:

* Add an event to single line text input widgets to detect when the enter
  key has been pressed

Changes:

ve.ui.TextInputWidget.js
* Retain value of multiline config option
* Add key press handler to detect pressing of enter key
* Emit 'enter' event when enter key is pressed if input is single line

Bonus:

* Add missing documentation for multiline config option

Change-Id: Id9c64343f4a2ea8f0f45213fd2b59ca87c805b24
2013-06-11 19:21:32 +00:00
..
ce Merge "Wrap inline images in spans with display: inline-block." 2013-06-10 22:36:30 +00:00
dm Remove Parsoid hack and fix new references. 2013-06-10 23:01:17 +01:00
init Insert Reference 2013-06-10 20:14:08 +01:00
test Merge "Match non-BMP characters in wordbreak regexes" 2013-06-10 22:19:15 +00:00
ui Text input widget enter event 2013-06-11 19:21:32 +00:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.debug.js ve.debug: Document why we use global Function#apply+Function#call instead of method.apply 2013-05-30 13:03:14 +01:00
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Element.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.EventEmitter.js oojs: Integrate with OOJS v1.0.0 2013-06-06 17:29:55 +02:00
ve.Factory.js
ve.js Merge "oojs: Integrate with OOJS v1.0.0" 2013-06-06 23:42:47 +00:00
ve.LeafNode.js
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js ve.ce.Document: Introduce getRelativeRange method 2013-06-05 13:10:38 +01:00
ve.Range.js
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00