[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 7e8eb01dbf93144dfa7eb1da4417bfa7b05d5e92
Franck VILLAUME
nerville at fusionforge.org
Sun Feb 9 15:18:36 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via 7e8eb01dbf93144dfa7eb1da4417bfa7b05d5e92 (commit)
from 770ec86c8221d63fbd0961c5001d34f6e92599b5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7e8eb01dbf93144dfa7eb1da4417bfa7b05d5e92
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Sun Feb 9 15:17:55 2014 +0100
docman: remove useless jQuery call
diff --git a/src/www/docman/scripts/DocManController.js b/src/www/docman/scripts/DocManController.js
index 81099ea..64edbdb 100644
--- a/src/www/docman/scripts/DocManController.js
+++ b/src/www/docman/scripts/DocManController.js
@@ -73,7 +73,7 @@ DocManListFileController.prototype =
var storedSplitterPosition = jQuery.Storage.get('splitterStyle').replace(/px;?/g, '').replace(/left: /g, '');
splitterPosition = Math.round(storedSplitterPosition * 100 / mainwidth )+'%';
}
- (jQuery(this.params.divLeft).height() > jQuery(this.params.divRight).height() - fixheight) ? mainheight = jQuery(this.params.divLeft).height() : mainheight = jQuery(this.params.divRight).height() - fixheight;
+ (this.params.divLeft.height() > this.params.divRight.height() - fixheight) ? mainheight = this.params.divLeft.height() : mainheight = this.params.divRight.height() - fixheight;
jQuery('#views').height(mainheight)
.split({orientation:'vertical', limit:100, position: splitterPosition});
jQuery('.vsplitter').mouseup(function(){
@@ -137,14 +137,14 @@ DocManListFileController.prototype =
if (typeof(this.params.divAddItem) != 'undefined') {
this.params.divAddItem.hide();
}
- computeHeight = this.params.divRight.height() + jQuery(this.params.divEditDirectory).height();
+ computeHeight = this.params.divRight.height() + this.params.divEditDirectory.height();
currentLeftHeight = this.params.divLeft.height();
- this.params.divLeft.height(currentLeftHeight + jQuery(this.params.divEditDirectory).height());
+ this.params.divLeft.height(currentLeftHeight + this.params.divEditDirectory.height());
} else {
this.params.divEditDirectory.hide();
- computeHeight = this.params.divRight.height() - jQuery(this.params.divEditDirectory).height();
+ computeHeight = this.params.divRight.height() - this.params.divEditDirectory.height();
currentLeftHeight = this.params.divLeft.height();
- this.params.divLeft.height(currentLeftHeight - jQuery(this.params.divEditDirectory).height());
+ this.params.divLeft.height(currentLeftHeight - this.params.divEditDirectory.height());
}
if (typeof(this.params.divLeft) != 'undefined' && typeof(this.params.divRight) != 'undefined') {
if (this.params.divLeft.height() > computeHeight) {
-----------------------------------------------------------------------
Summary of changes:
src/www/docman/scripts/DocManController.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list