File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/main.mail.blacklist/templates/.default/script.min.js
Back
(function(){BX.namespace("BX.Sender");if(BX.Main.Blacklist){return}function t(){}t.prototype.init=function(t){this.gridId=t.gridId;this.componentName=t.componentName;this.signedParameters=t.signedParameters};t.prototype.showDeleteConfirm=function(t){BX.UI.Dialogs.MessageBox.show({message:BX.message("MAIN_MAIL_BLACKLIST_DELETE_CONFIRM"),modal:true,title:BX.message("MAIN_MAIL_BLACKLIST_DELETE_CONFIRM_TITLE"),buttons:BX.UI.Dialogs.MessageBoxButtons.OK_CANCEL,onOk:function(){return new Promise(function(e,n){this.remove(t).then(function(t){e(t);t.data?this.reloadGrid():this.showNotification(BX.message("MAIN_MAIL_BLACKLIST_DELETE_ERROR"))}.bind(this),function(t){n(t);this.showNotification(BX.message("MAIN_MAIL_BLACKLIST_DELETE_ERROR"))}.bind(this))}.bind(this))}.bind(this),onCancel:function(t){t.close()}})};t.prototype.reloadGrid=function(){var t=BX.Main.gridManager.getById(this.gridId);if(t){t.instance.reload()}};t.prototype.showNotification=function(t){BX.UI.Notification.Center.notify({content:t})};t.prototype.remove=function(t){return BX.ajax.runComponentAction(this.componentName,"remove",{mode:"class",data:{id:t},signedParameters:this.signedParameters})};BX.Main.BlackList=new t})(window); //# sourceMappingURL=script.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings