* Adjust code.
This commit is contained in:
@@ -229,7 +229,7 @@ class risk extends control
|
||||
$this->action->logHistory($actionID, $changes);
|
||||
}
|
||||
|
||||
if(isonlybody()) die(js::closeModal('parent.parent', 'this'));
|
||||
if(isonlybody()) $this->send(array('locate' => 'parent', 'message' => $this->lang->saveSuccess, 'result' => 'success'));
|
||||
$this->send(array('locate' => inlink('browse')));
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<td class='c-actions'>
|
||||
<?php
|
||||
$params = "riskID=$risk->id";
|
||||
common::printIcon('risk', 'track', $params, $risk, "list", 'checked');
|
||||
common::printIcon('risk', 'track', $params, $risk, "list", 'checked', '', 'iframe', true);
|
||||
common::printIcon('risk', 'close', $params, $risk, "list", '', '', 'iframe', true);
|
||||
common::printIcon('risk', 'cancel', $params, $risk, "list", '', '', 'iframe', true);
|
||||
common::printIcon('risk', 'hangup', $params, $risk, "list", 'arrow-up', '', 'iframe', true);
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
<th><?php echo $lang->risk->isChange;?></th>
|
||||
<td><?php echo html::radio('isChange', $lang->risk->isChangeList, 0, "onclick=refreshPage(this)");?></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr class='track hidden'>
|
||||
<th><?php echo $lang->risk->name;?></th>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<?php if(!isonlybody()) echo "<div class='divider'></div>";?>
|
||||
<?php if(!$risk->deleted):?>
|
||||
<?php
|
||||
common::printIcon('risk', 'track', "riskID=$risk->id", $risk, 'button', 'checked', '', 'showinonlybody');
|
||||
common::printIcon('risk', 'track', "riskID=$risk->id", $risk, "button", 'checked', '', 'iframe showinonlybody', true);
|
||||
common::printIcon('risk', 'assignTo', "riskID=$risk->id", $risk, 'button', '', '', 'iframe showinonlybody', true);
|
||||
common::printIcon('risk', 'cancel', "riskID=$risk->id", $risk, 'button', '', '', 'iframe showinonlybody', true);
|
||||
common::printIcon('risk', 'close', "riskID=$risk->id", $risk, 'button', '', '', 'iframe showinonlybody', true);
|
||||
|
||||
Reference in New Issue
Block a user