[FIX]7.0 bookmark module - not working correctly

lp bug: https://launchpad.net/bugs/1077138 fixed

bzr revid: dle@openerp.com-20121115144455-gdpss6sp4ul5zut3
This commit is contained in:
Denis Ledoux dle@openerp.com 2012-11-15 15:44:55 +01:00
parent 3571ad2a70
commit 3dae59cabd
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ instance.web_shortcuts.Shortcuts = instance.web.Widget.extend({
},
add: function (sc) {
var self = this;
this.dataset.create(sc, function (out) {
this.dataset.create(sc).then(function(out){
self.trigger('display', {
name : sc.name,
id : out.result,