Adjusting the CSS attr for the delete button

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

Branch: refs/heads/marvin-refactor
Commit: e86ee12a78b1ac9361e92ea008f53fda0829fc59
Parents: 8291c9b
Author: Pranav Saxena <pranav.sax...@citrix.com>
Authored: Fri Mar 15 17:23:04 2013 +0530
Committer: Pranav Saxena <pranav.sax...@citrix.com>
Committed: Fri Mar 15 17:23:04 2013 +0530

----------------------------------------------------------------------
 ui/scripts/ui-custom/healthCheck.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e86ee12a/ui/scripts/ui-custom/healthCheck.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui-custom/healthCheck.js 
b/ui/scripts/ui-custom/healthCheck.js
index eb80e72..c4c84e5 100644
--- a/ui/scripts/ui-custom/healthCheck.js
+++ b/ui/scripts/ui-custom/healthCheck.js
@@ -268,7 +268,7 @@
                                        //Delete Button (begin) - call delete 
API               
           {
             text: _l('Delete'),
-            'class': 'cancel',
+            'class': 'delete',
             click: function() {    
               $loadingOnDialog.appendTo($healthCheckDialog);
                                                
@@ -328,6 +328,9 @@
           $("button").each(function(){
             $(this).attr("style", "left: 400px; position: relative; 
margin-right: 5px; ");
           });
+       
+          $('.ui-dialog .delete').css('left','140px');
+
         },
         buttons: buttons
       }).closest('.ui-dialog').overlay();

Reply via email to