Title: [120649] trunk/Tools
Revision
120649
Author
[email protected]
Date
2012-06-18 18:09:37 -0700 (Mon, 18 Jun 2012)

Log Message

Minor fix suggested by Adam Barth.

Use $(this._what).empty(); rather than removing children one at a time.
For some reason removeAllChildren() is undefined on this node.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js (120648 => 120649)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js	2012-06-19 01:03:11 UTC (rev 120648)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js	2012-06-19 01:09:37 UTC (rev 120649)
@@ -88,8 +88,7 @@
     },
     updateWithNode: function(node)
     {
-        while (this._what.firstChild)
-            this._what.removeChild(this._what.firstChild);
+        $(this._what).empty();
         this._what.appendChild(node);
     }
 });

Modified: trunk/Tools/ChangeLog (120648 => 120649)


--- trunk/Tools/ChangeLog	2012-06-19 01:03:11 UTC (rev 120648)
+++ trunk/Tools/ChangeLog	2012-06-19 01:09:37 UTC (rev 120649)
@@ -1,5 +1,14 @@
 2012-06-18  Simon Fraser  <[email protected]>
 
+        Minor fix suggested by Adam Barth.
+
+        Use $(this._what).empty(); rather than removing children one at a time.
+        For some reason removeAllChildren() is undefined on this node.
+        
+        * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications.js:
+
+2012-06-18  Simon Fraser  <[email protected]>
+
         Show TOT revision in garden-o-matic, and make the revisions into links
         https://bugs.webkit.org/show_bug.cgi?id=89396
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to