panel: fix code replace error

This commit is contained in:
jean-emmanuel 2017-05-31 21:20:26 +02:00
parent 0eb0fd6bfb
commit e004f4c728

View file

@ -61,7 +61,7 @@ module.exports = class Panel extends _widgets_base {
try {
var layout = this.getProp('layout').replace(/\$([0-9])+/g, (m)=>{
return this.children[m.replace('$','')].abstract.this.getProp('id')
return this.children[m.replace('$','')].abstract.getProp('id')
})
this.layout = new autolayout.View({