2 small things forgotten.
authorLuzifr <szekely@woltlab.com>
Mon, 19 Sep 2011 16:32:20 +0000 (18:32 +0200)
committerLuzifr <szekely@woltlab.com>
Mon, 19 Sep 2011 16:32:20 +0000 (18:32 +0200)
Coding style:
Attribute "id" should always come first! (Except in a form element,
then the type should be first)
Attribute "class" should always be found on the last place in a tag!

wcfsetup/install/files/acp/style/testing.css
wcfsetup/install/files/js/WCF.js

index baf9be1fe013190695b2ae27a1672fe102a74d90..0c67366697c2a9cd5b537ec825955d5fc7bbffae 100644 (file)
@@ -1625,7 +1625,7 @@ thead th.active:hover a {
 thead th a img {
        /* sort-icon orientation does not work */
        text-align: right;
-       /* negative margins to prevent table-cells from expanding when ths sort-icon shows up */
+       /* negative margins to prevent table-cells from expanding when the sort-icon shows up */
        margin-top: -5px !important;
        margin-bottom: -5px !important;
 }
index 43b8a5d83ab6360271f432b9aeab3e316dd442b3..1d724fc67e5beea61df06383fd4b9c06ff287e2f 100644 (file)
@@ -698,7 +698,7 @@ WCF.Clipboard = {
                        // create container
                        var $container = $containers[$typeName];
                        var $editor = data.items[$typeName];
-                       var $label = $('<span>' + $editor.label + '</span>').appendTo($container).click(function(event) {
+                       var $label = $('<p>' + $editor.label + '</p>').appendTo($container).click(function(event) {
                                var $span = $(event.target);
                                $span.next().toggle();
                        });
@@ -855,7 +855,7 @@ WCF.Action.Proxy.prototype = {
                        this.options.init(this);
                }
                
-               $('<div id="actionProxyLoading" style="display: none;">'+WCF.Language.get('wcf.global.loading')+'</div>').appendTo($('body'));
+               $('<div id="actionProxyLoading" class="actionProxyLoading" style="display: none;">'+WCF.Language.get('wcf.global.loading')+'</div>').appendTo($('body'));
                this.loading = $('#actionProxyLoading');
                this.loading.wcfDropIn();
        },
@@ -2028,7 +2028,7 @@ WCF.Effect.BalloonTooltip = function() { this.init(); };
 WCF.Effect.BalloonTooltip.prototype = {
        init: function() {
                // create empty div
-               this.tooltip = $('<div style="position:absolute" id="balloonTooltip"></div>').appendTo(document.body).hide();
+               this.tooltip = $('<div id="balloonTooltip" style="position:absolute"></div>').appendTo(document.body).hide();
        
                // init elements
                $('.balloonTooltip').each($.proxy(this._initTooltip, this));
@@ -2325,7 +2325,7 @@ $.widget('ui.wcfPages', {
        },
        
        /**
-        * Renders th pages widget.
+        * Renders the pages widget.
         */
        _render: function() {
                // only render if we have more than 1 page