Updated Branches:
  refs/heads/ui-regions 8831b2920 -> 5a08ef64b

Add region 'ID' field to add form


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/5a08ef64
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/5a08ef64
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/5a08ef64

Branch: refs/heads/ui-regions
Commit: 5a08ef64b37a724b2d25965daa4e31e3b868023f
Parents: 8831b29
Author: Brian Federle <[email protected]>
Authored: Tue Feb 26 13:37:03 2013 -0800
Committer: Brian Federle <[email protected]>
Committed: Tue Feb 26 13:37:03 2013 -0800

----------------------------------------------------------------------
 ui/scripts/regions.js |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/5a08ef64/ui/scripts/regions.js
----------------------------------------------------------------------
diff --git a/ui/scripts/regions.js b/ui/scripts/regions.js
index 8b0e1af..f5a3dcf 100644
--- a/ui/scripts/regions.js
+++ b/ui/scripts/regions.js
@@ -34,6 +34,7 @@
             title: 'label.add.region',
             desc: 'message.add.region',
             fields: {
+              id: { label: 'label.id', validation: { required: true } },
               name: { label: 'label.name', validation: { required: true } },
               endpoint: { label: 'label.endpoint', validation: { url: true, 
required: true } },
               userapikey: { label: 'label.api.key' },
@@ -50,9 +51,7 @@
                 args.response.success({ _custom: { jobId: jobID }});
               }
             });
-            args.response.success();
-          },
-          notification: { poll: pollAsyncJobResult }
+          }
         }
       },
       dataProvider: function(args) {

Reply via email to