fix bug with editor getting a positive bottom css value in firefox
This commit is contained in:
parent
79dd2abfa7
commit
0e3ccdf6a4
1 changed files with 4 additions and 2 deletions
|
@ -9127,6 +9127,7 @@ requires
|
||||||
that.$elements[i] = v.element
|
that.$elements[i] = v.element
|
||||||
.css(self.edges[2], (parseInt(v.element.css(self.edges[2])) || 0) + 'px')
|
.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');
|
.css(self.edges[3], (parseInt(v.element.css(self.edges[3])) || 0) + 'px');
|
||||||
|
//alert(v.element.css(self.edges[3]))
|
||||||
});
|
});
|
||||||
|
|
||||||
// create resizebars
|
// create resizebars
|
||||||
|
@ -9232,11 +9233,12 @@ requires
|
||||||
var pos = Ox.isNumber(id) ? id : getPositionById(id);
|
var pos = Ox.isNumber(id) ? id : getPositionById(id);
|
||||||
Ox.print('replace', pos, element);
|
Ox.print('replace', pos, element);
|
||||||
Ox.print('element', self.options.elements[pos].element, 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
|
that.$elements[pos] = element
|
||||||
.css(self.edges[2], (parseInt(element.css(self.edges[2])) || 0) + 'px')
|
.css(self.edges[2], (parseInt(element.css(self.edges[2])) || 0) + 'px')
|
||||||
.css(self.edges[3], (parseInt(element.css(self.edges[3])) || 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();
|
setSizes();
|
||||||
self.$resizebars.forEach(function($resizebar, i) {
|
self.$resizebars.forEach(function($resizebar, i) {
|
||||||
$resizebar.options({
|
$resizebar.options({
|
||||||
|
|
Loading…
Reference in a new issue