* Fix bug #37100.
This commit is contained in:
@@ -316,6 +316,8 @@ class custom extends control
|
||||
{
|
||||
$this->custom->deleteItems("module=$module§ion=$field");
|
||||
}
|
||||
|
||||
if(in_array($module, array('serverroom', 'host'))) return $this->send(array('result' => 'success', 'load' => true));
|
||||
return print(js::reload('parent'));
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ $formRows[] = formRow
|
||||
|
||||
$hasSideBar = !empty($lang->{$module}->osNameList) && array_key_exists($field, $lang->{$module}->osNameList);
|
||||
$actions = array('submit');
|
||||
if(common::hasPriv('custom', 'restore')) $actions[] = array('class' => 'ajax-submit', 'text' => $lang->custom->restore, 'data-confirm' => $lang->custom->confirmRestore, 'url' => $this->createLink('custom', 'restore', "module=$module&field=$fieldList"));
|
||||
if(common::hasPriv('custom', 'restore')) $actions[] = array('class' => 'ajax-submit', 'text' => $lang->custom->restore, 'data-confirm' => $lang->custom->confirmRestore, 'url' => $this->createLink('custom', 'restore', "module=$module&field=$fieldList&confirm=yes"));
|
||||
formPanel
|
||||
(
|
||||
setID('opsForm'),
|
||||
|
||||
Reference in New Issue
Block a user