From 17122d270546ff8864ae9c9c834abee03a68e204 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 18 Jan 2011 14:29:59 +0700 Subject: Unprovision message and buttons adjustments. The message and buttons in the unprovision dialog box have been updated according to the latest spec. --- install/static/host.js | 7 +------ install/static/service.js | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'install') diff --git a/install/static/host.js b/install/static/host.js index 9751abbe8..dd435c56e 100644 --- a/install/static/host.js +++ b/install/static/host.js @@ -322,8 +322,7 @@ function host_provisioning_status_widget(spec) { dialog.create = function() { dialog.container.append( - 'To confirm your intention to unprovision this host, '+ - 'click the "Unprovision" button.'); + 'Are you sure you want to unprovision this host?'); }; dialog.add_button('Unprovision', function() { @@ -338,10 +337,6 @@ function host_provisioning_status_widget(spec) { ); }); - dialog.add_button('Cancel', function() { - dialog.close(); - }); - dialog.init(); dialog.open(that.container); diff --git a/install/static/service.js b/install/static/service.js index fb99b74d5..4154b22d4 100644 --- a/install/static/service.js +++ b/install/static/service.js @@ -343,8 +343,7 @@ function service_provisioning_status_widget(spec) { dialog.create = function() { dialog.container.append( - 'To confirm your intention to unprovision this service, '+ - 'click the "Unprovision" button.'); + 'Are you sure you want to unprovision this service?'); }; dialog.add_button('Unprovision', function() { @@ -360,10 +359,6 @@ function service_provisioning_status_widget(spec) { ); }); - dialog.add_button('Cancel', function() { - dialog.close(); - }); - dialog.init(); dialog.open(that.container); -- cgit