* [bug #56126, done, 0.2h] change ui text on set doc basic modal.

This commit is contained in:
sunhao
2024-10-17 08:19:13 +08:00
committed by 刘刚
parent 95c5d02c42
commit 4f48c37b41
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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();
}
}
+1 -1
View File
@@ -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')),