summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMalgorzata Janczarska2011-05-26 07:20:46 (EDT)
committer Malgorzata Janczarska2011-05-26 07:20:46 (EDT)
commit3ec97b1da80d89951dcaef27d3905acf6794055f (patch)
tree44907d2d013553907b15d4f229c569bcd9906870
parenta16f896d1f8c945741523a2f6e7d6ac1aaaba3ef (diff)
downloadorg.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
-rw-r--r--bundles/org.eclipse.orion.client.core/static/js/widgets/NewItemDialog.js1
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')) {