[FIX] calendar: dropdown button misaligned

+ add meaningful placeholder
This commit is contained in:
Bhavik Bagdiya 2014-08-20 11:47:38 +05:30 committed by Richard Mathot
parent 48dfd70b4a
commit 73c5041829
2 changed files with 7 additions and 2 deletions

View File

@ -81,4 +81,9 @@ span.no-wrap {
}
.openerp .oe_add_input_box > div > input{
width: 200px;
}
}
.openerp .oe_add_input_box > div > .oe_m2o_drop_down_button {
position: relative;
top: 0px;
right: 20px;
}

View File

@ -97,7 +97,7 @@ function reload_favorite_list(result) {
name: "partner_id",
type: "many2one",
options: '{"no_open": True}',
placeholder: _t("Select Favorite Calendar"),
placeholder: _t("Add Favorite Calendar"),
},
});
this.ir_model_m2o.insertAfter($('div.oe_calendar_filter'));