Merge remote-tracking branch 'origin/QA_3_5' into QA_3_5

This commit is contained in:
Michal Čihař 2012-03-19 18:50:23 +01:00
commit eb9bf2a623

View File

@ -1903,25 +1903,17 @@ jQuery.fn.PMA_confirm = function(question, url, callbackFn) {
*/
var button_options = {};
button_options[PMA_messages['strOK']] = function(){
$(this).dialog("close");
$(this).dialog("close").remove();
if($.isFunction(callbackFn)) {
callbackFn.call(this, url);
}
};
button_options[PMA_messages['strCancel']] = function() {
$(this).dialog("close");
}
if($.isFunction(callbackFn)) {
callbackFn.call(this, url);
}
};
button_options[PMA_messages['strCancel']] = function() {$(this).dialog("close").remove();}
$('<div/>', {'id':'confirm_dialog'})
$('<div id="confirm_dialog"></div>')
.prepend(question)
.dialog({
buttons: button_options,
close: function () {
$(this).remove();
},
modal: true
});
.dialog({buttons: button_options});
};
/**