| author | Malgorzata Janczarska | 2011-05-26 07:20:46 (EDT) |
|---|---|---|
| committer | Malgorzata Janczarska | 2011-05-26 07:20:46 (EDT) |
| commit | 3ec97b1da80d89951dcaef27d3905acf6794055f (patch) (side-by-side diff) | |
| tree | 44907d2d013553907b15d4f229c569bcd9906870 | |
| parent | a16f896d1f8c945741523a2f6e7d6ac1aaaba3ef (diff) | |
| download | org.eclipse.orion.client-3ec97b1da80d89951dcaef27d3905acf6794055f.zip org.eclipse.orion.client-3ec97b1da80d89951dcaef27d3905acf6794055f.tar.gz org.eclipse.orion.client-3ec97b1da80d89951dcaef27d3905acf6794055f.tar.bz2 | |
Bug 347294 - [client] New Item Dialog - name not set when submit by
Enter
Change-Id: Ifd8deb071c8a52835f4cb0a563a8a5510684c2c1
| -rw-r--r-- | bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js b/bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js index e341717..8697870 100644 --- a/bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js +++ b/bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js @@ -56,6 +56,7 @@ dojo.declare("widgets.NewItemDialog", [dijit.Dialog, widgets._OrionDialogMixin], // Stuff from newItemDialog.js is below execute: function() { var url, create; + this.newItemButton.focus(); if (this.options.advanced) { url = this.itemURL.value.replace(/^\s+|\s+$/g, ''); if (this.createCheckbox.get('disabled')) { |

