summaryrefslogtreecommitdiff
path: root/addons/website/static
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2014-06-10 12:29:47 +0200
committerChristophe Simonis <chs@odoo.com>2014-06-10 12:29:47 +0200
commit6b8e9727e5ab2e7b841c307d4700934048af8d37 (patch)
tree771c742ebf5a550f9bd9c9389ce82a260ff71ac1 /addons/website/static
parent6eacf9167177b3809700b1ae96604fef03fb226b (diff)
parent4601d859440c7be464c670741e434a012e16d3b3 (diff)
[MERGE] forward port of branch saas-3 up to 4601d85
Diffstat (limited to 'addons/website/static')
-rw-r--r--addons/website/static/src/js/website.snippets.editor.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website/static/src/js/website.snippets.editor.js b/addons/website/static/src/js/website.snippets.editor.js
index 51e8bc3b991..94b170a0c59 100644
--- a/addons/website/static/src/js/website.snippets.editor.js
+++ b/addons/website/static/src/js/website.snippets.editor.js
@@ -973,7 +973,9 @@
},
clean_for_save: function () {
this._super();
- this.$target.find(".item").removeClass("next prev left right");
+ this.$target.find(".item").removeClass("next prev left right active");
+ this.$indicators.find('li').removeClass('active');
+ this.$indicators.find('li:first').addClass('active');
if(!this.$target.find(".item.active").length) {
this.$target.find(".item:first").addClass("active");
}