[FIX]display icon of save button.
lp bug: https://launchpad.net/bugs/985715 fixed bzr revid: hip@tinyerp.com-20120522100448-wslfkjb6j7lj8ipc
This commit is contained in:
@@ -421,7 +421,8 @@ openerp.web.list_editable = function (instance) {
|
||||
w.appendTo($td);
|
||||
$td.appendTo($element);
|
||||
});
|
||||
$("<td><button class='oe-edit-row-save' type='button'>Save</button></td>").appendTo($element);
|
||||
save = QWeb.render('ListView.row.save');
|
||||
$(save).appendTo($element);
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -701,6 +701,12 @@
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<t t-name="ListView.row.save">
|
||||
<td>
|
||||
<button class='oe_i oe-edit-row-save' type='button' name='save'>S</button>
|
||||
</td>
|
||||
</t>
|
||||
|
||||
<t t-name="FormView">
|
||||
<div class="oe_formview">
|
||||
<div class="oe_form_buttons"/>
|
||||
|
||||
Reference in New Issue
Block a user