fixed bug that prevented colorpicker from being displayed when creating a story
This commit is contained in:
parent
189de5db26
commit
84e9048b11
1 changed files with 2 additions and 2 deletions
|
@ -401,8 +401,8 @@ function colorpicker_macro(param) {
|
|||
if (param.color)
|
||||
param.color = renderColorAsString(param.color);
|
||||
|
||||
if (path.story) {
|
||||
var obj = path.story;
|
||||
if (path.story || path.storymgr) {
|
||||
var obj = path.story ? path.story : new story();
|
||||
param2.part = param.name;
|
||||
param.editor = obj.content_macro(param2);
|
||||
param.color = obj.getContentPart(param.name);
|
||||
|
|
Loading…
Add table
Reference in a new issue