panel: fix code replace error 2

This commit is contained in:
jean-emmanuel 2017-05-31 21:21:41 +02:00
parent 3574f48c8b
commit 664117c5fd

View file

@ -86,7 +86,7 @@ module.exports = class Panel extends _widgets_base {
}
applyLayout(){
this.widget.find('> .widget').each((i,widget)=>{
var id = widget.abstract.this.getProp('id')
var id = widget.abstract.getProp('id')
if (!this.layout.subViews[id]) return
var $widget = $(widget).addClass('absolute-position').css({'min-height':'auto','min-width':'auto'})
for (var prop of ['height', 'width', 'top', 'left']) {