Unprovision message and buttons adjustments.

The message and buttons in the unprovision dialog box have been
updated according to the latest spec.
This commit is contained in:
Endi S. Dewata 2011-01-18 14:29:59 +07:00
parent 8a6547943f
commit 17122d2705
2 changed files with 2 additions and 12 deletions

View File

@ -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);

View File

@ -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);