[SSE] Update bootstrap (Fix dropdown menu position of pivot settings)
This commit is contained in:
parent
d0e120e974
commit
067874c8b4
|
@ -1020,7 +1020,7 @@ define([
|
||||||
setOffset: function(offsetX, offsetY) {
|
setOffset: function(offsetX, offsetY) {
|
||||||
this.offset[0] = _.isUndefined(offsetX) ? this.offset[0] : offsetX;
|
this.offset[0] = _.isUndefined(offsetX) ? this.offset[0] : offsetX;
|
||||||
this.offset[1] = _.isUndefined(offsetY) ? this.offset[1] : offsetY;
|
this.offset[1] = _.isUndefined(offsetY) ? this.offset[1] : offsetY;
|
||||||
//this.alignPosition();
|
this.display === 'static' && this.alignPosition();
|
||||||
},
|
},
|
||||||
|
|
||||||
getOffset: function() {
|
getOffset: function() {
|
||||||
|
|
|
@ -590,6 +590,8 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.menuAlignEl = currentTarget;
|
menu.menuAlignEl = currentTarget;
|
||||||
|
menu.cmpEl.css({'position': 'fixed'});
|
||||||
|
menu.cmpEl.data('display', 'static');
|
||||||
menu.setOffset(-20, -currentTarget.height()/2 - 3);
|
menu.setOffset(-20, -currentTarget.height()/2 - 3);
|
||||||
menu.show();
|
menu.show();
|
||||||
_.delay(function() {
|
_.delay(function() {
|
||||||
|
@ -765,6 +767,8 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.menuAlignEl = currentTarget;
|
menu.menuAlignEl = currentTarget;
|
||||||
|
menu.cmpEl.css({'position': 'fixed'});
|
||||||
|
menu.cmpEl.data('display', 'static');
|
||||||
menu.setOffset(-20, -currentTarget.height()/2 - 3);
|
menu.setOffset(-20, -currentTarget.height()/2 - 3);
|
||||||
menu.show();
|
menu.show();
|
||||||
_.delay(function() {
|
_.delay(function() {
|
||||||
|
|
Loading…
Reference in a new issue