* Fix bug#54483.
This commit is contained in:
@@ -392,7 +392,7 @@ class tree extends control
|
||||
if(dao::isError()) return print(js::error(dao::getError()));
|
||||
|
||||
if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'idList' => $moduleIDList));
|
||||
if(($viewType == 'doc' || $viewType == 'api') and isonlybody()) die(js::reload('parent.parent'));
|
||||
if(($viewType == 'doc' || $viewType == 'api') and isonlybody()) die(js::reload('parent'));
|
||||
if(isonlybody()) die(js::closeModal('parent.parent', '', "function(){parent.parent.$('a.refresh').click()}"));
|
||||
|
||||
die(js::reload('parent'));
|
||||
|
||||
@@ -76,4 +76,6 @@ $(document).ready(function()
|
||||
{
|
||||
toggleCopy(false);
|
||||
$('[data-id="edit"] a').modalTrigger({type: 'iframe', width: 500});
|
||||
|
||||
parent.$('#triggerModal .modal-content .modal-header .close').on('click', function(){parent.location.reload();});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user