mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Prevent disabled editor component in editor popup
This commit is contained in:
parent
3925c24487
commit
e3541c046b
4 changed files with 8 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ class editorView extends editor
|
|||
$oComponent = &$oEditorModel->getComponentObject($component, $editor_sequence, $site_srl);
|
||||
if(!$oComponent->toBool())
|
||||
{
|
||||
Context::set('message', sprintf(lang('msg_component_is_not_founded'), $component));
|
||||
Context::set('message', sprintf($oComponent->getMessage(), $component));
|
||||
$this->setLayoutFile('popup_layout');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('component_not_founded');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue