modal: fix init

This commit is contained in:
jean-emmanuel 2017-06-21 14:07:31 +02:00
parent 4aafed38de
commit c837cb931f

View file

@ -117,7 +117,7 @@ module.exports = class Modal extends Panel {
}
if (!this.init || this.value) this.fixStacking()
if (!this.init) this.init = true
if (!this.init && this.value) this.init = true
if (options.send) this.sendValue()
if (options.sync) this.light.trigger({type:'sync',id:this.getProp('id'),widget:this.widget, linkId:this.getProp('linkId'), options})