* [bug#55950,done,0.5h] fix space form item of import doc.
This commit is contained in:
@@ -63,7 +63,6 @@ formPanel
|
||||
set::items($spaces),
|
||||
set::value($objectID),
|
||||
on::change('loadObjectModules'),
|
||||
set::disabled($objectType == 'mine'),
|
||||
set::required(true)
|
||||
) : null,
|
||||
formGroup
|
||||
|
||||
+1
-1
@@ -563,7 +563,7 @@ class docZen extends doc
|
||||
|
||||
$this->view->title = empty($lib) ? '' : zget($lib, 'name', '', $lib->name . $this->lang->hyphen) . $this->lang->doc->uploadDoc;
|
||||
$this->view->linkType = $objectType;
|
||||
$this->view->spaces = $this->getAllSpaces($objectType == 'custom' ? 'nomine' : 'onlymine');
|
||||
$this->view->spaces = ($objectType == 'mine' || $objectType == 'custom') ? $this->doc->getSubSpacesByType($objectType) : array();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user