Index: Tools/GardeningServer/scripts/ui/failures.js |
diff --git a/Tools/GardeningServer/scripts/ui/failures.js b/Tools/GardeningServer/scripts/ui/failures.js |
index edd87d72bfd7ba46ea7b42348221dbf48f17c9ae..3d19ce9e3712fa1d61ff707b6c085618ea0d288e 100644 |
--- a/Tools/GardeningServer/scripts/ui/failures.js |
+++ b/Tools/GardeningServer/scripts/ui/failures.js |
@@ -87,9 +87,10 @@ ui.failures.FailureGrid = base.extends('table', { |
_rowByResult: function(result) |
{ |
var row = this._resultRows[result]; |
- $(row).show(); |
- if (row) |
+ if (row) { |
+ row.style.display = ''; |
return row; |
+ } |
row = this._resultRows[result] = this._body.insertRow(0); |
row.className = result; |
@@ -126,10 +127,9 @@ ui.failures.FailureGrid = base.extends('table', { |
{ |
this._pendingReset = false; |
this._resultRows = {}; |
- $(this._body).empty(); |
+ this._body.innerHTML = ''; |
// Add the BUILDING row eagerly so that it appears last. |
- this._rowByResult(kBuildingResult); |
- $(this._resultRows[kBuildingResult]).hide(); |
+ this._rowByResult(kBuildingResult).style.display = 'none'; |
} |
}); |