azkaban-aplcache

Issue #129 - Replace HTML instead of appending the container

2/5/2014 1:03:25 AM

Details

diff --git a/src/web/js/azkaban/view/time-graph.js b/src/web/js/azkaban/view/time-graph.js
index c56a39f..7cb3f6f 100644
--- a/src/web/js/azkaban/view/time-graph.js
+++ b/src/web/js/azkaban/view/time-graph.js
@@ -65,7 +65,7 @@ azkaban.TimeGraphView = Backbone.View.extend({
 		}
 
 		var graphDiv = document.createElement('div');
-		$(this.graphContainer).append(graphDiv);
+		$(this.graphContainer).html(graphDiv);
 
     var lineColorsCallback = function(row, sidx, type) {
       if (type != 'point') {