clone : reset parser call to original api
This commit is contained in:
parent
de14bf39d7
commit
e20fda493d
1 changed files with 2 additions and 2 deletions
|
|
@ -123,8 +123,8 @@ class Clone extends Widget {
|
|||
this.cloneClass = [...this.cloneTarget.container.classList].filter(i=>excludedCloneClasses.indexOf(i) === -1)
|
||||
this.container.classList.remove('empty')
|
||||
this.container.classList.add(...this.cloneClass)
|
||||
const propsCopy = deepCopy(this.cloneTarget.props)
|
||||
var clone = parser.parse([{...propsCopy, ...this.getProp('props')}], this.widget, this,null,null,true)
|
||||
|
||||
var clone = parser.parse([{...deepCopy(this.cloneTarget.props), ...this.getProp('props')}], this.widget, this)
|
||||
|
||||
if (clone.getProp('id') === this.cloneTarget.getProp('id')) {
|
||||
widgetManager.trigger('change.*', [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue