Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1638 → Rev 1639

/branches/v3/impl/src/web/user/pagecontent/jorgeaux/index.jsp
59,13 → 59,25
 
$scope.openItem = function(item, ancestors)
{
if(item.open && item.open==true)
{
item.open=false;
delete item.childs;
}
else
{
$.getJSON("<%=request.getContextPath()%>/user/pagecontent/jorgeaux/section.jsp",{path:item.path},
function(json){
item.childs = json;
item.open = true;
angular.element($("#vfsApp")).scope().$apply();
});
}
 
$.getJSON("<%=request.getContextPath()%>/user/pagecontent/jorgeaux/section.jsp",{path:item.path},
function(json){
item.childs = json;
angular.element($("#vfsApp")).scope().$apply();
});
 
}
 
 
});
 
</script>