Commit ef7635bf authored by Kedar Aitawdekar's avatar Kedar Aitawdekar 💻

Fixed JQ UIblock issue in theme loading

parent bacbbde0
......@@ -440,7 +440,7 @@ margin-top:15px;
{% if tree == "hierarchical" %}
$("article").block({message: '<h4>Building the theme tree...</h4>'});
// $("article").block({message: '<h4>Building the theme tree...</h4>'});
$("#theme-drag-zoom-tree-container").addClass("hide")
$(".themes").removeClass("hide");
......@@ -460,11 +460,11 @@ margin-top:15px;
{% if node %}
$("article").block({message: '<h4>Building the theme graph...</h4>'});
// $("article").block({message: '<h4>Building the theme graph...</h4>'});
$.getJSON("{% url 'get_tree_hierarchy' group_id node.pk %}?collapsible=true", function(data){ treeData = data;})
.done(function(){
plotDragZoomTree(treeData);
$('article').unblock();
// $('article').unblock();
});
{% endif %}
......
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