* Fix bug.

This commit is contained in:
Yagami
2020-11-06 16:54:03 +08:00
parent 2414c8b3eb
commit da9abfa77c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ class issue extends control
if($resolution == 'resolved') $this->loadModel('action')->create('issue', $issueID, 'Resolved');
$this->dao->update(TABLE_ISSUE)->set('objectID')->eq($objectID)->where('id')->eq($issueID)->exec();
if(isonlybody()) die(js::closeModal('parent.parent', 'this'));
if(isonlybody()) $this->send(array('locate' => 'parent', 'message' => $this->lang->saveSuccess, 'result' => 'success'));
die(js::locate(inLink('browse'), 'parent'));
}
+1 -1
View File
@@ -29,7 +29,7 @@ echo js::set('resolveLink', $this->createLink('issue', 'ajaxGetResolveForm'));
</div>
</div>
<div class="modal-body" style="min-height: 282px; overflow: auto;">
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<form class='form-ajax' method='post'>
<table class="table table-form" id="solutionTable">
<tr>
<th><?php echo $lang->issue->resolution;?></th>