Skip to content

Commit ac4a491

Browse files
author
p01
committed
Added disabled view ( necessary for the switch to Profiling mode )
1 parent 7ab67e9 commit ac4a491

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/resource-manager/resource_detail_view.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ cls.ResourceDetailView = function(id, name, container_class, html, default_handl
2929
}
3030

3131
this.data = null;
32-
}
32+
};
33+
34+
this.create_disabled_view = function(container)
35+
{
36+
container.clearAndRender(window.templates.disabled_view());
37+
};
3338

3439
const HIGHLIGHTED_LINE_CLASSNAME = 'highlighted-line';
3540
const RESOURCE_DETAIL_CONTAINER_CLASSNAME = 'resource-detail-container';

src/resource-manager/resource_test_view.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ cls.ResourceTreeView = function(id, name, container_class, html, default_handler
7474
}
7575
};
7676

77+
this.create_disabled_view = function(container)
78+
{
79+
container.clearAndRender(window.templates.disabled_view());
80+
};
7781

7882
this._on_abouttoloaddocument_bound = function()
7983
{

0 commit comments

Comments
 (0)