cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [04/50] [abbrv] git commit: updated refs/heads/marvin_refactor to 7c439fe
Date Mon, 29 Apr 2013 13:13:42 GMT
Change affinity UI: Allow 0 checkbox selections


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

Branch: refs/heads/marvin_refactor
Commit: 382e8f36f377b8508e759a2976b0a6d47345ce89
Parents: 72da1ae
Author: Brian Federle <brian.federle@citrix.com>
Authored: Mon Apr 22 11:27:16 2013 -0700
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Mon Apr 22 11:27:16 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui-custom/affinity.js |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/382e8f36/ui/scripts/ui-custom/affinity.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/affinity.js b/ui/scripts/ui-custom/affinity.js
index f3356dd..6c237ed 100644
--- a/ui/scripts/ui-custom/affinity.js
+++ b/ui/scripts/ui-custom/affinity.js
@@ -80,14 +80,6 @@
                 return false;
               } 
 
-              if (!$dataList.find(
-                'input[type=radio]:checked, input[type=checkbox]:checked'
-              ).size()) {
-                cloudStack.dialog.notice({ message: _l('message.select.instance')});
-
-                return false;
-              }
-
               var complete = args.complete;
               var start = args.start;
 


Mime
View raw message