[FIX] vieweditor:- used close method instead of manually destory.
bzr revid: ysa@tinyerp.com-20111101065105-kurbcohyig31qudu
This commit is contained in:
parent
8fcf3cf5d9
commit
c0c7750146
|
@ -48,7 +48,7 @@ openerp.web.ViewEditor = openerp.web.Widget.extend({
|
|||
self.get_data();
|
||||
},
|
||||
"Close": function(){
|
||||
$(this).dialog('destroy');
|
||||
this.view_edit_dialog.close();
|
||||
}
|
||||
},
|
||||
});
|
||||
|
@ -262,7 +262,7 @@ openerp.web.ViewEditor = openerp.web.Widget.extend({
|
|||
//todo
|
||||
},
|
||||
"Close": function(){
|
||||
$(this).dialog('destroy');
|
||||
this.edit_xml_dialog.close();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue