[FIX] website snippets: clean for save remove left and prev class

bzr revid: chm@openerp.com-20131016070237-6jmnsjdw26w014nv
This commit is contained in:
Christophe Matthieu
2013-10-16 09:02:37 +02:00
parent a5d5308375
commit aeffcc2a67
@@ -1030,7 +1030,7 @@
},
clean_for_save: function () {
this._super();
this.$target.find(".item.left, .item.next").removeClass("next left");
this.$target.find(".item").removeClass("next prev left right");
if(!this.$target.find(".item.active").length) {
this.$target.find(".item:first").addClass("active");
}