panel: declare when inner widgets are edited to update clones

This commit is contained in:
jean-emmanuel 2017-07-29 19:31:18 +02:00
parent ed04519f5b
commit 094e2d69bf

View file

@ -113,6 +113,8 @@ module.exports = class Panel extends _widgets_base {
}
}
if (edited) $('body').trigger({type: 'widget-created', id: this.getProp('id'), hash:this.hash})
if (edited && this.parent && this.parent.registerHashes) this.parent.registerHashes(true)
}