[fix] website snippet: alert for drop error
bzr revid: chm@openerp.com-20130919135138-6dfcol6b8o904r2s
This commit is contained in:
parent
20b391d6c8
commit
e7e41de591
|
@ -398,7 +398,11 @@
|
|||
$('.oe_drop_zone').droppable('destroy').remove();
|
||||
if (!dropped) {
|
||||
self.$modal.modal('toggle');
|
||||
setTimeout(function () {self.$modal.fadeOut();}, 3000);
|
||||
setTimeout(function () {
|
||||
self.$modal.fadeOut(function () {
|
||||
self.$modal.modal('hide');
|
||||
});
|
||||
}, 3000);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue