[FIX] Tour should not start 'uninvited'
bzr revid: ddm@openerp.com-20131212102807-ra4uon05udtp5twu
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
},
|
||||
resume: function () {
|
||||
// Override if necessary
|
||||
return !this.ended();
|
||||
return this.tourStorage.getItem(this.id+'_current_step') && !this.ended();
|
||||
},
|
||||
trigger: function (url) {
|
||||
// Override if necessary
|
||||
|
||||
@@ -140,7 +140,8 @@
|
||||
stepId: 'congratulations',
|
||||
title: "Congratulations",
|
||||
content: "Congratulations! You just created and published your first product.",
|
||||
template: self.popover({ end: "Ok" }),
|
||||
template: self.popover({ end: "Close Tutorial" }),
|
||||
backdrop: true,
|
||||
},
|
||||
];
|
||||
return this._super();
|
||||
|
||||
Reference in New Issue
Block a user