mediawiki-extensions-Visual.../modules/ve/ui
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
..
actions FocusedNode Selection 2013-06-07 17:49:35 -07:00
dialogs Paged dialog upgrades 2013-06-11 19:20:57 +00:00
elements ve.Element refactor 2013-05-14 19:47:32 +00:00
inspectors Consistent use of mw in HTML classes, and data element and annotation types 2013-05-28 13:49:56 +01:00
layouts Fix documentation for GridLayout to add a return type 2013-05-25 12:48:17 +02:00
styles Image insertion 2013-06-06 17:36:55 -07:00
tools Image insertion 2013-06-06 17:36:55 -07:00
widgets Text input widget enter event 2013-06-11 19:21:32 +00:00
ve.ui.Action.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.ActionFactory.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.CommandRegistry.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.Context.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Dialog.js Prevent scrolling in top-level window while dialog is open 2013-06-06 23:43:19 +00:00
ve.ui.DialogFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.Frame.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Inspector.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.InspectorFactory.js UI "Views" refactor 2013-04-18 15:53:50 -07:00
ve.ui.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Layout.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Surface.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.ui.Tool.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.Toolbar.js Make MW meta dialog experimental 2013-05-24 17:53:06 +02:00
ve.ui.ToolFactory.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.ui.Trigger.js jshint: Fix trailing comma 2013-06-05 13:00:49 +02:00
ve.ui.TriggerRegistry.js ve.Editor 2013-05-15 10:39:12 -07:00
ve.ui.ViewRegistry.js Link inspector fixes 2013-04-24 18:29:55 -07:00
ve.ui.Widget.js ve.Element refactor 2013-05-14 19:47:32 +00:00
ve.ui.Window.js Pending input refactor 2013-06-06 21:17:35 +00:00
ve.ui.WindowSet.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00