Renamed variable ($fieldset -> $section)
authorMarcel Werk <burntime@woltlab.com>
Mon, 25 Jul 2016 21:54:25 +0000 (23:54 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 25 Jul 2016 21:54:25 +0000 (23:54 +0200)
wcfsetup/install/files/js/WCF.Message.js

index 7280c185a660d77cf0e07b79b9aeb2927d82e2a6..76777380cbf6859846c3f6b908a712c98ddae0a9 100644 (file)
@@ -2064,16 +2064,16 @@ WCF.Message.Share.Content = Class.extend({
                        }
                        
                        // permalink (plain text)
-                       var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalink">' + WCF.Language.get('wcf.message.share.permalink') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalink" class="long" readonly />').attr('value', $link).appendTo($fieldset);
+                       var $section = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalink">' + WCF.Language.get('wcf.message.share.permalink') + '</label></h2></section>').appendTo(this._dialog);
+                       $('<input type="text" id="__sharePermalink" class="long" readonly />').attr('value', $link).appendTo($section);
                        
                        // permalink (BBCode)
-                       var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkBBCode">' + WCF.Language.get('wcf.message.share.permalink.bbcode') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalinkBBCode" class="long" readonly />').attr('value', '[url=\'' + $link + '\']' + $title + '[/url]').appendTo($fieldset);
+                       var $section = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkBBCode">' + WCF.Language.get('wcf.message.share.permalink.bbcode') + '</label></h2></section>').appendTo(this._dialog);
+                       $('<input type="text" id="__sharePermalinkBBCode" class="long" readonly />').attr('value', '[url=\'' + $link + '\']' + $title + '[/url]').appendTo($section);
                        
                        // permalink (HTML)
-                       var $fieldset = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkHTML">' + WCF.Language.get('wcf.message.share.permalink.html') + '</label></h2></section>').appendTo(this._dialog);
-                       $('<input type="text" id="__sharePermalinkHTML" class="long" readonly />').attr('value', '<a href="' + $link + '">' + WCF.String.escapeHTML($title) + '</a>').appendTo($fieldset);
+                       var $section = $('<section class="section"><h2 class="sectionTitle"><label for="__sharePermalinkHTML">' + WCF.Language.get('wcf.message.share.permalink.html') + '</label></h2></section>').appendTo(this._dialog);
+                       $('<input type="text" id="__sharePermalinkHTML" class="long" readonly />').attr('value', '<a href="' + $link + '">' + WCF.String.escapeHTML($title) + '</a>').appendTo($section);
                        
                        this._cache[$key] = this._dialog.html();