[FIX] problem with css classes of view managers

bzr revid: nicolas.vanhoren@openerp.com-20120710091821-qpc49vwq60k1xt3f
This commit is contained in:
niv-openerp
2012-07-10 11:18:21 +02:00
parent f078da8a52
commit 24a54675ee
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2609,7 +2609,7 @@ instance.web.form.FieldMany2One = instance.web.form.AbstractField.extend(instanc
});
// some behavior for input
this.$input.keyup(function() {
this.$input.keydown(function() {
if (self.current_display !== self.$input.val()) {
self.current_display = self.$input.val();
if (self.$input.val() === "") {
+2 -2
View File
@@ -146,7 +146,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
this.dialog.dialog_title = action.name;
this.dialog_viewmanager = new instance.web.ViewManagerAction(this.dialog, action);
this.dialog_viewmanager.appendTo(this.dialog.$element);
this.dialog_viewmanager.$element.addClass("oe_view_manager_" + action.target);
this.dialog_viewmanager.$element.addClass("oe_view_manager_" + (action.target || 'current'));
this.dialog.open();
} else {
this.dialog_stop();
@@ -159,7 +159,7 @@ instance.web.ActionManager = instance.web.Widget.extend({
this.inner_action = action;
this.inner_viewmanager = new instance.web.ViewManagerAction(this, action);
this.inner_viewmanager.appendTo(this.$element);
this.inner_viewmanager.$element.addClass("oe_view_manager_" + action.target);
this.inner_viewmanager.$element.addClass("oe_view_manager_" + (action.target || 'current'));
}
},
ir_actions_act_window_close: function (action, on_closed) {