[FIX]remove draggable on modal window + clean up
bzr revid: csn@openerp.com-20140410154520-h7790rxb8h2hx2zx
This commit is contained in:
parent
049539809d
commit
09cd7585e2
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue