* tree support update after actions with ajax.
This commit is contained in:
@@ -33,7 +33,6 @@ include './taskheader.html.php';
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php js::set('replaceID', 'taskList')?>
|
||||
<script>
|
||||
var projectID = <?php echo $projectID?>;
|
||||
$('#project<?php echo $projectID;?>').addClass('active')
|
||||
@@ -143,6 +142,15 @@ $(function()
|
||||
tree.show($('.item-type-module'));
|
||||
}
|
||||
});
|
||||
|
||||
setModal4List('iframe', null, function()
|
||||
{
|
||||
$.cancelReloadCloseModal();
|
||||
$.getJSON('<?php echo inlink('tree', "projectID=$projectID", 'json') ?>', function(newData)
|
||||
{
|
||||
tree.reload(newData);
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user