diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 32c9e9be..b27de126 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -9127,6 +9127,7 @@ requires that.$elements[i] = v.element .css(self.edges[2], (parseInt(v.element.css(self.edges[2])) || 0) + 'px') .css(self.edges[3], (parseInt(v.element.css(self.edges[3])) || 0) + 'px'); + //alert(v.element.css(self.edges[3])) }); // create resizebars @@ -9232,11 +9233,12 @@ requires var pos = Ox.isNumber(id) ? id : getPositionById(id); Ox.print('replace', pos, element); Ox.print('element', self.options.elements[pos].element, element) - self.options.elements[pos].element.replaceWith(element.$element.$element || element.$element); - self.options.elements[pos].element = element; that.$elements[pos] = element .css(self.edges[2], (parseInt(element.css(self.edges[2])) || 0) + 'px') .css(self.edges[3], (parseInt(element.css(self.edges[3])) || 0) + 'px'); + //alert(element.css(self.edges[3])) + self.options.elements[pos].element.replaceWith(element.$element.$element || element.$element); + self.options.elements[pos].element = element; setSizes(); self.$resizebars.forEach(function($resizebar, i) { $resizebar.options({