[FIX] minor tour fixes
bzr revid: ddm@openerp.com-20131002091634-o6swg2nk0nkjokdx
This commit is contained in:
parent
5f7004c296
commit
74a74929a7
|
@ -106,14 +106,13 @@
|
|||
_.each(this.observers, function (observer) {
|
||||
observer.disconnect();
|
||||
});
|
||||
tourStorage.setItem("tour_current_step", 0);
|
||||
tourStorage.setItem("tour_end", "yes");
|
||||
},
|
||||
});
|
||||
|
||||
website.EditorBar.include({
|
||||
start: function () {
|
||||
if (window.location.href.indexOf("tour=true") >= 0 && tourStorage.getItem("tour_end") !== "yes") {
|
||||
if (window.location.hash.indexOf("tour") >= 0) {
|
||||
window.location.hash = "";
|
||||
var editorTour = new website.EditorTour();
|
||||
editorTour.start();
|
||||
this.on('rte:ready', this, function () {
|
||||
|
|
Loading…
Reference in New Issue