From: woltlab.com Date: Sun, 28 Aug 2016 19:02:20 +0000 (+0200) Subject: Updating minified JavaScript files X-Git-Tag: 3.0.0_Beta_1~428 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65d12348f60b7d1e95287cf27bf864a100edabc5;p=GitHub%2FWoltLab%2FWCF.git Updating minified JavaScript files --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js index 3f2f60afd6..189fd03547 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/combined.min.js @@ -37,7 +37,7 @@ $.Redactor.prototype.WoltLabKeydown=function(){"use strict";var t=[];return{init // WoltLabLink.js $.Redactor.prototype.WoltLabLink=function(){"use strict";var i=null;return{init:function(){this.link.show=this.WoltLabLink.show.bind(this),require(["WoltLabSuite/Core/Ui/Redactor/Link"],function(t){i=t})},show:function(t){"undefined"!=typeof t&&t.preventDefault&&t.preventDefault(),this.selection.save(),this.observe.closeAllTooltip();var e=this.link.is();i.showDialog({insert:e===!1,submitCallback:function(){var i=this.link.buildLinkFromModal();return i===!1?!1:(this.link.insert(i,!0),!0)}.bind(this)});var n=this.link.buildLinkFromElement(e);n.url=this.link.removeSelfHostFromUrl(n.url),this.link.setModalValues(n),this.detect.isDesktop()&&$("#redactor-link-url").focus()}}}; // WoltLabList.js -$.Redactor.prototype.WoltLabCaret=function(){"use strict";return{init:function(){this.list.combineAfterAndBefore=function(t){var e=$(t).prev(),n=$(t).next(),r=t&&"P"===t.tagName&&("
"===t.innerHTML||""===t.innerHTML),i=1===e.closest("ol, ul",this.core.editor()[0]).length&&1===n.closest("ol, ul",this.core.editor()[0]).length;return r&&i?(e.children("li").last().append(this.marker.get()),e.append(n.contents()),this.selection.restore(),!0):!1}.bind(this)}}}; +$.Redactor.prototype.WoltLabList=function(){"use strict";return{init:function(){this.list.combineAfterAndBefore=function(t){var e=$(t).prev(),n=$(t).next(),i=t&&"P"===t.tagName&&("
"===t.innerHTML||""===t.innerHTML),r=1===e.closest("ol, ul",this.core.editor()[0]).length&&1===n.closest("ol, ul",this.core.editor()[0]).length;return i&&r?(e.children("li").last().append(this.marker.get()),e.append(n.contents()),this.selection.restore(),!0):!1}.bind(this)}}}; // WoltLabMedia.js $.Redactor.prototype.WoltLabMedia=function(){"use strict";return{init:function(){var t=this.button.add("woltlabMedia","");$(t).addClass("jsMediaEditorButton"),require(["WoltLabSuite/Core/Media/Manager/Editor"],function(t){new t({editor:this})}.bind(this))}}}; // WoltLabMention.js