Commit 22ca98b0 by kevalbhatt

ATLAS-3156 : Assign term/category loader not disappearing

parent d0147981
...@@ -472,7 +472,10 @@ define(['require', ...@@ -472,7 +472,10 @@ define(['require',
treeLoaded = function(options) { treeLoaded = function(options) {
if (that.query[options.type].isNodeNotFoundAtLoad == true) { if (that.query[options.type].isNodeNotFoundAtLoad == true) {
var id = that.glossary.selectedItem.guid; var id = that.glossary.selectedItem.guid;
options.$el.jstree('activate_node', id); if (id) {
options.$el.jstree('activate_node', id);
}
that.changeLoaderState(false);
} }
}, },
createAction = function(options) { createAction = function(options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment