[fusion-commits] r2483 - trunk/lib/jxLib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Dec 8 10:38:45 EST 2011
Author: jng
Date: 2011-12-08 07:38:45 -0800 (Thu, 08 Dec 2011)
New Revision: 2483
Modified:
trunk/lib/jxLib/jxlib.uncompressed.js
Log:
#502: The left side bar can't be reopened after minimized. Apply Bruce Li's patch
Modified: trunk/lib/jxLib/jxlib.uncompressed.js
===================================================================
--- trunk/lib/jxLib/jxlib.uncompressed.js 2011-12-07 03:21:33 UTC (rev 2482)
+++ trunk/lib/jxLib/jxlib.uncompressed.js 2011-12-08 15:38:45 UTC (rev 2483)
@@ -38436,14 +38436,14 @@
var size = this.element.getContentBoxSize();
var newSize = {};
if (this.layout == 'vertical') {
- if (size.height == this.minimumSize) {
+ if (size.height == 0) {
newSize.height = this.originalSize;
} else {
this.originalSize = size.height;
newSize.height = this.minimumSize;
}
} else {
- if (size.width == this.minimumSize) {
+ if (size.width == 0) {
newSize.width = this.originalSize;
} else {
this.originalSize = size.width;
@@ -38462,7 +38462,7 @@
sizeChange: function() {
var size = this.element.getContentBoxSize();
if (this.layout == 'vertical') {
- if (size.height == this.minimumSize) {
+ if (size.height == 0) {
this.snap.addClass('jxSnapClosed');
this.snap.removeClass('jxSnapOpened');
} else {
@@ -38470,7 +38470,7 @@
this.snap.removeClass('jxSnapClosed');
}
} else {
- if (size.width == this.minimumSize) {
+ if (size.width == 0) {
this.snap.addClass('jxSnapClosed');
this.snap.removeClass('jxSnapOpened');
} else {
More information about the fusion-commits
mailing list