[FIX] website snippets: clean for save remove left and prev class
bzr revid: chm@openerp.com-20131016070237-6jmnsjdw26w014nv
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user