Fixed quote link editing
authorAlexander Ebert <ebert@woltlab.com>
Wed, 19 Oct 2016 09:45:28 +0000 (11:45 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 19 Oct 2016 09:45:28 +0000 (11:45 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Quote.js

index 534790b52276eb71f006aa496b0a95c4e6c4a53c..114ed2def2cdedfa5d73dfef8c7475c4e372baf3 100644 (file)
@@ -188,7 +188,7 @@ define(['Core', 'EventHandler', 'EventKey', 'Language', 'StringUtil', 'Dom/Util'
                        elData(this._quote, 'author', elById(id + '-author').value);
                        
                        // set url
-                       elData(this._quote, 'url', url);
+                       elData(this._quote, 'link', url);
                        
                        this._setTitle(this._quote);
                        this._editor.caret.after(this._quote);
@@ -254,7 +254,7 @@ define(['Core', 'EventHandler', 'EventKey', 'Language', 'StringUtil', 'Dom/Util'
                                        
                                        onShow: (function() {
                                                elById(idAuthor).value = elData(this._quote, 'author');
-                                               elById(idUrl).value = elData(this._quote, 'url');
+                                               elById(idUrl).value = elData(this._quote, 'link');
                                        }).bind(this),
                                        
                                        title: Language.get('wcf.editor.quote.edit')