Файловый менеджер - Редактировать - /home/amitahospital/public_html/amita_master/upload/news/bootstrap-popup.min.js.tar
Назад
home/amitahospital/public_html/amita_master/js/bootstrap-popup.min.js 0000644 00000007125 14721161303 0022220 0 ustar 00 /** * bootstrap-popup v1.0.0 * Copyright 2016 jsoon * Licensed under the MIT license */ !function(o){"use strict";if("function"==typeof define&&define.amd)define(["jquery","bootstrap"],o);else if("object"==typeof exports)o(require("jquery"),require("bootstrap"));else{if("undefined"==typeof jQuery)throw new Error("bootstrap-popup requires jQuery to be loaded first");if("undefined"==typeof jQuery.fn.modal)throw new Error("bootstrap-popup requires Bootstrap to be loaded first");o(jQuery,jQuery.fn.modal)}}(function(o,t){"use strict";o.bs=o.bs||{};var d=function(){var t,d,i,n,a,s,e={},l=function(o){var o=o||1e5;return Math.floor(Math.random()*o)};return e.toast=function(i,a){t="J_PopupToast"+l(),d='<div id="'+t+'" class="modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">'+i.title+'</h4></div><div class="modal-body"><p>'+i.info+"</p></div></div></div></div>";var s=arguments[2]?arguments[2]:3e3;o("body").append(d),n=o("#"+t),n.find(".modal-dialog").css("width",i.width),n.on("shown.bs.modal",function(){"function"==typeof a?a(n):null;var t=this;setTimeout(function(){o(t).modal("hide")},s)}).modal("show"),n.on("hidden.bs.modal",function(){o(this).remove()})},e.confirm=function(i,e){t="J_PopupConfirm"+l(),d='<div id="'+t+'" class="modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">'+i.title+'</h4></div><div class="modal-body"><p>'+i.info+'</p></div><div class="modal-footer"><button type="button" class="btn btn-default J_Cancel">Cancel</button><button type="button" class="btn btn-primary J_Ok">Confirm</button></div></div></div></div>',o("body").append(d),n=o("#"+t),n.find(".modal-dialog").css("width",i.width),n.modal("show"),a=n.find(".J_Ok"),s=n.find(".J_Cancel"),a.on("click",function(){"function"==typeof e?e(n):null}),s.on("click",function(){n.modal("hide")}),n.on("hidden.bs.modal",function(){o(this).remove()})},e.prompt=function(e,c){t="J_PopupPrompt"+l(),d='<div id="'+t+'" class="modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">'+e.title+'</h4></div><div class="modal-body"><p>'+e.info+'</p><input type="text" class="form-control J_Message" placeholder="'+e.info+'"></div><div class="modal-footer"><button type="button" class="btn btn-default J_Cancel">Cancel</button><button type="button" class="btn btn-primary J_Ok">Confirm</button></div></div></div></div>',o("body").append(d),n=o("#"+t),n.find(".modal-dialog").css("width",e.width),n.modal("show"),a=n.find(".J_Ok"),s=n.find(".J_Cancel"),a.on("click",function(){i=n.find(".J_Message").eq(0).val(),"function"==typeof c?c(n,i):null}),s.on("click",function(){n.modal("hide")}),n.on("hidden.bs.modal",function(){o(this).remove()})},e.custom=function(i,a){t="J_PopupCustom"+l(),d='<div id="'+t+'" class="modal fade" tabindex="-1"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">'+i.title+'</h4></div><div class="modal-body">'+i.dom+"</div></div></div></div>",o("body").append(d),n=o("#"+t),n.find(".modal-dialog").css("width",i.width),n.modal("show"),"function"==typeof a?a(n):null,n.on("hidden.bs.modal",function(){o(this).remove()})},e};o.bs.popup=d()}); //# sourceMappingURL=bootstrap-popup.min.js.map
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0.06 |
proxy
|
phpinfo
|
Настройка