You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/22 20:27:50 UTC

[1/4] git commit: updated refs/heads/ui-vm-affinity to 2be8368

Updated Branches:
  refs/heads/ui-vm-affinity 35681f3e0 -> 2be8368f4


listView, custom checkbox UI: Fix pre-checked checkbox state

Fixes pre-checked checkboxes not having multi-edit-selected class,
preventing item data from being passed to custom widget actions.


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

Branch: refs/heads/ui-vm-affinity
Commit: 72da1ae96960bc89f64a50bbcb9c9c6ac97662d2
Parents: 35681f3
Author: Brian Federle <br...@citrix.com>
Authored: Mon Apr 22 11:26:24 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Apr 22 11:26:24 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/72da1ae9/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 4bd4a42..f368951 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -780,6 +780,10 @@
             .data('list-view-action-id', actionName)
         );
 
+        if ($td.find('input[type=checkbox]').is(':checked')) {
+          $tr.addClass('multi-edit-selected');
+        }
+
         return true;
       }
 


[4/4] git commit: updated refs/heads/ui-vm-affinity to 2be8368

Posted by bf...@apache.org.
Affinity UI: Cleanup dialog on close


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

Branch: refs/heads/ui-vm-affinity
Commit: 2be8368f449e49ac1629c230268c8af15912ffc5
Parents: 57686ae
Author: Brian Federle <br...@citrix.com>
Authored: Mon Apr 22 11:27:47 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Apr 22 11:27:47 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2be8368f/ui/scripts/ui-custom/affinity.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/affinity.js b/ui/scripts/ui-custom/affinity.js
index 1f51b52..1a23ff7 100644
--- a/ui/scripts/ui-custom/affinity.js
+++ b/ui/scripts/ui-custom/affinity.js
@@ -117,6 +117,7 @@
 
               $('div.overlay').fadeOut(function() {
                 $('div.overlay').remove();
+                $(':ui-dialog').dialog('destroy');
               });
             }
           },
@@ -129,6 +130,7 @@
               });
               $('div.overlay').fadeOut(function() {
                 $('div.overlay').remove();
+                $(':ui-dialog').dialog('destroy');
               });
             }
           }


[3/4] git commit: updated refs/heads/ui-vm-affinity to 2be8368

Posted by bf...@apache.org.
Affinity UI: Pass _custom to fix broken async poll


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

Branch: refs/heads/ui-vm-affinity
Commit: 57686aeeaffed74832c20a96a7eaf403ba8c90a1
Parents: 382e8f3
Author: Brian Federle <br...@citrix.com>
Authored: Mon Apr 22 11:27:37 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Apr 22 11:27:37 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/57686aee/ui/scripts/ui-custom/affinity.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/affinity.js b/ui/scripts/ui-custom/affinity.js
index 6c237ed..1f51b52 100644
--- a/ui/scripts/ui-custom/affinity.js
+++ b/ui/scripts/ui-custom/affinity.js
@@ -103,6 +103,7 @@
                   response: {
                     success: function(args) {
                       complete({
+                        _custom: args._custom,
                         $item: $instanceRow
                       });
                     },


[2/4] git commit: updated refs/heads/ui-vm-affinity to 2be8368

Posted by bf...@apache.org.
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/ui-vm-affinity
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;