* [bug #56126, done, 0.2h] change ui text on set doc basic modal.
This commit is contained in:
@@ -1582,7 +1582,8 @@ class doc extends control
|
||||
$this->view->objectType = $objectType;
|
||||
$this->view->lib = $lib;
|
||||
$this->view->libs = $libPairs;
|
||||
$this->view->title = $this->lang->doc->release;
|
||||
$this->view->docID = $docID;
|
||||
$this->view->title = empty($docID) ? $this->lang->doc->release : $this->lang->settings;
|
||||
$this->display();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ formPanel
|
||||
(
|
||||
setID('setDocBasicForm'),
|
||||
set::title($title),
|
||||
set::submitBtnText($lang->doc->release),
|
||||
set::submitBtnText(empty($docID) ? $lang->doc->release : $lang->save),
|
||||
on::change('[name=space],[name=product],[name=execution]')->call('loadObjectModules', jsRaw('event')),
|
||||
on::change('[name=lib]')->call('loadLibModules', jsRaw('event')),
|
||||
on::change('[name=project]')->call('loadExecutions', jsRaw('event')),
|
||||
|
||||
Reference in New Issue
Block a user