[FIX] Fixed the issue for confirmation popup when we delete a record from a list
lp bug: https://launchpad.net/bugs/872708 fixed bzr revid: tpa@tinyerp.com-20111013085758-el0bn170ai0h6wfc
This commit is contained in:
@@ -463,7 +463,7 @@ openerp.web.ListView = openerp.web.View.extend( /** @lends openerp.web.ListView#
|
||||
* @param {Array} ids the ids of the records to delete
|
||||
*/
|
||||
do_delete: function (ids) {
|
||||
if (!ids.length) {
|
||||
if (!ids.length || !confirm(" Are you sure to remove those records ?")) {
|
||||
return;
|
||||
}
|
||||
var self = this;
|
||||
|
||||
Reference in New Issue
Block a user