|
|
@ -64,6 +64,18 @@ |
|
|
|
return content; |
|
|
|
return content; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var selectLast = function (instance) { |
|
|
|
|
|
|
|
if (instance == null) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var target = instance.selElm() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (target) { |
|
|
|
|
|
|
|
instance.selected({target}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
var dimensionIds = getDimensionIds(params); |
|
|
|
var dimensionIds = getDimensionIds(params); |
|
|
|
|
|
|
|
|
|
|
|
if (initParams) { |
|
|
|
if (initParams) { |
|
|
@ -110,6 +122,8 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
selectLast(rich_editor.editor.instance); |
|
|
|
|
|
|
|
|
|
|
|
Pool.refresh = function () { |
|
|
|
Pool.refresh = function () { |
|
|
|
var content = Pool.data.getContent(); |
|
|
|
var content = Pool.data.getContent(); |
|
|
|
var isAuto = Pool.data.isAuto(); |
|
|
|
var isAuto = Pool.data.isAuto(); |
|
|
@ -130,6 +144,8 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
rich_editor.setFocus(); |
|
|
|
rich_editor.setFocus(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
selectLast(rich_editor.editor.instance); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
Pool.addField = function () { |
|
|
|
Pool.addField = function () { |
|
|
|