[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:
parent
3571ad2a70
commit
3dae59cabd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue