[Fusionforge-commits] FusionForge branch master updated. dc87473f652cb83e076d4886d946101469b5447e

Franck VILLAUME nerville at fusionforge.org
Sun Feb 9 16:16:44 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, master has been updated
       via  dc87473f652cb83e076d4886d946101469b5447e (commit)
      from  b9596a5c237e0a6c37a9a2ad248be391793d3d48 (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 dc87473f652cb83e076d4886d946101469b5447e
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