fix(MessageHandler): hide the close button when 'persistent'
This commit is contained in:
parent
6669a96fd8
commit
0238a10a4b
|
@ -290,7 +290,15 @@ var messageHandler = {
|
|||
buttons: buttons,
|
||||
defaultButton: 1,
|
||||
promptspeed: 0,
|
||||
loaded: loadedFunction,
|
||||
loaded: function() {
|
||||
if (loadedFunction) {
|
||||
loadedFunction.apply(this, arguments);
|
||||
}
|
||||
// Hide the close button
|
||||
if (persistent) {
|
||||
$(".jqiclose", this).hide();
|
||||
}
|
||||
},
|
||||
submit: dontShowAgainSubmitFunctionWrapper(
|
||||
dontShowAgain, submitFunction),
|
||||
close: closeFunction,
|
||||
|
|
Loading…
Reference in New Issue