You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/04/29 15:13:42 UTC

[04/50] [abbrv] git commit: updated refs/heads/marvin_refactor to 7c439fe

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 <br...@citrix.com>
Authored: Mon Apr 22 11:27:16 2013 -0700
Committer: Brian Federle <br...@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;