[FIX] website snippet: When duplicating a column, the column becomes a col-md-1 instead of keeping existing width

bzr revid: chm@openerp.com-20140228132507-0s6y5k3vkbmusvf1
This commit is contained in:
Christophe Matthieu 2014-02-28 14:25:07 +01:00
parent ce1ff0a854
commit abcd7e4926
1 changed files with 0 additions and 1 deletions

View File

@ -1233,7 +1233,6 @@
on_clone: function () {
var $clone = this.$target.clone(false);
var _class = $clone.attr("class").replace(/\s*(col-lg-offset-|col-md-offset-)([0-9-]+)/g, '');
_class += ' col-md-1';
$clone.attr("class", _class);
this.$target.after($clone);
this.hide_remove_button();