Merge remote-tracking branch 'origin/QA_3_5' into QA_3_5
This commit is contained in:
commit
d215b238ae
@ -1903,17 +1903,25 @@ jQuery.fn.PMA_confirm = function(question, url, callbackFn) {
|
||||
*/
|
||||
var button_options = {};
|
||||
button_options[PMA_messages['strOK']] = function(){
|
||||
$(this).dialog("close").remove();
|
||||
$(this).dialog("close");
|
||||
|
||||
if($.isFunction(callbackFn)) {
|
||||
callbackFn.call(this, url);
|
||||
}
|
||||
};
|
||||
button_options[PMA_messages['strCancel']] = function() {$(this).dialog("close").remove();}
|
||||
if($.isFunction(callbackFn)) {
|
||||
callbackFn.call(this, url);
|
||||
}
|
||||
};
|
||||
button_options[PMA_messages['strCancel']] = function() {
|
||||
$(this).dialog("close");
|
||||
}
|
||||
|
||||
$('<div id="confirm_dialog"></div>')
|
||||
$('<div/>', {'id':'confirm_dialog'})
|
||||
.prepend(question)
|
||||
.dialog({buttons: button_options});
|
||||
.dialog({
|
||||
buttons: button_options,
|
||||
close: function () {
|
||||
$(this).remove();
|
||||
},
|
||||
modal: true
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user