|
|
@ -14782,13 +14782,11 @@ $.extend(BI, { |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
toast.element.css({"margin-left": -1 * toast.element.outerWidth() / 2}); |
|
|
|
toast.element.css({"margin-left": -1 * toast.element.outerWidth() / 2}); |
|
|
|
toast.element.slideDown(500, function () { |
|
|
|
toast.element.show(); |
|
|
|
autoClose && BI.delay(function () { |
|
|
|
autoClose && BI.delay(function () { |
|
|
|
toast.element.slideUp(500, function () { |
|
|
|
toast.element.hide(); |
|
|
|
toast.destroy(); |
|
|
|
toast.destroy(); |
|
|
|
}); |
|
|
|
}, 5000); |
|
|
|
}, 5000); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
_show: function (hasCancel, title, message, callback) { |
|
|
|
_show: function (hasCancel, title, message, callback) { |
|
|
|
$mask = $("<div class=\"bi-z-index-mask\">").css({ |
|
|
|
$mask = $("<div class=\"bi-z-index-mask\">").css({ |
|
|
|