[ADD] edition cancelling

bzr revid: xmo@openerp.com-20110603141638-giwlzwrp795bq78h
This commit is contained in:
Xavier Morel
2011-06-03 16:16:38 +02:00
parent 9250a5a3f6
commit aaa459a29d
3 changed files with 33 additions and 8 deletions
+4 -2
View File
@@ -802,8 +802,10 @@
.replaceAll(this)
.before($(document.createElement('td')).append(
$(document.createElement('button')).attr({
'class': 'oe-list-save', 'type': 'button'}).text('Save')))
.after($(document.createElement('td')))
'class': 'oe-edit-row-save', 'type': 'button'}).text('Save')))
.after($(document.createElement('td')).append(
$(document.createElement('button')).attr({
'class': 'oe-edit-row-cancel', 'type': 'button'}).text('Cancel')))
.unwrap();
</t>
</t>