diff --git a/src/sunstone/public/js/sunstone.js b/src/sunstone/public/js/sunstone.js
index 1666068f96..fe9398e869 100644
--- a/src/sunstone/public/js/sunstone.js
+++ b/src/sunstone/public/js/sunstone.js
@@ -791,9 +791,10 @@ function setupConfirmDialogs(){
\
'+tr("Do you want to proceed?")+'
\
\
+ \
\
- \
- \
+ \
+ \
\
');
@@ -812,7 +813,7 @@ function setupConfirmDialogs(){
//if a cancel button is pressed, we close the dialog.
$('button.confirm_cancel',dialog).click(function(){
- $(this).parents('div:ui-dialog').trigger('reveal:close');
+ $(this).parents('div#confirm_dialog').trigger('reveal:close');
return false;
});
@@ -913,11 +914,12 @@ function popUpConfirmWithSelectDialog(target_elem){
var value = $(target_elem).val();
var tab_id = $(target_elem).parents('.tab').attr('id');
var button = Sunstone.getButton(tab_id,value);
+ var tip = tr("You have to confrim this action");
- if (button.tip == undefined)
- var tip = tr("You have to confrim this action");
- else
- var tip = button.tip
+ //if (button.tip == undefined)
+ // var tip = tr("You have to confrim this action");
+ //else
+ // var tip = button.tip
var select_var = button.select();
$('select#confirm_select',dialog).html(select_var);