Fixed event name
authorAlexander Ebert <ebert@woltlab.com>
Tue, 17 Jan 2017 10:49:00 +0000 (11:49 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 17 Jan 2017 13:39:40 +0000 (14:39 +0100)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabSource.js

index bd57c711b74ba3fb46a7c08f1cd050089d7e8fd2..9c750e2ddd119ccfda24665eb8a10899d566a6f4 100644 (file)
@@ -31,7 +31,7 @@ $.Redactor.prototype.WoltLabSource = function() {
                                        element.removeAttribute('data-title');
                                });
                                
-                               WCF.System.Event.fireEvent('com.woltlab.wcf.redactor2', 'source_' + stripIntermediateCode + '_' + id, { div: div });
+                               WCF.System.Event.fireEvent('com.woltlab.wcf.redactor2', 'source_stripIntermediateCode_' + id, { div: div });
                        };
                        
                        function stripIcons(div) {