[FIX]remove draggable on modal window + clean up

bzr revid: csn@openerp.com-20140410154520-h7790rxb8h2hx2zx
This commit is contained in:
Cedric Snauwaert 2014-04-10 17:45:20 +02:00
parent 049539809d
commit 09cd7585e2
1 changed files with 0 additions and 3 deletions

View File

@ -83,8 +83,6 @@ instance.web.Dialog = instance.web.Widget.extend({
*/
init: function (parent, options, content) {
var self = this;
this.css_layout_outer = ['width','min_width','max_width'];
this.css_layout_inner = ['height','min_height','max_height'];
this._super(parent);
this.content_to_set = content;
this.dialog_options = {
@ -166,7 +164,6 @@ instance.web.Dialog = instance.web.Widget.extend({
dialog_body.find(".modal-body").addClass(options.dialogClass);
}
dialog_body.openerpClass();
dialog_body.draggable({ handle: ".modal-header", containment: "window" });
this.$dialog_box.on('hidden.bs.modal',this,function(){
self.trigger("closing");