[Fusionforge-commits] r11677 - in branches/Branch_5_1/src/www/docman: . scripts

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Tue Nov 30 18:23:22 CET 2010


Author: nerville
Date: 2010-11-30 18:23:21 +0100 (Tue, 30 Nov 2010)
New Revision: 11677

Modified:
   branches/Branch_5_1/src/www/docman/index.php
   branches/Branch_5_1/src/www/docman/scripts/DocManController.js
Log:
port trunk hardening js tipsy

Modified: branches/Branch_5_1/src/www/docman/index.php
===================================================================
--- branches/Branch_5_1/src/www/docman/index.php	2010-11-30 17:20:59 UTC (rev 11676)
+++ branches/Branch_5_1/src/www/docman/index.php	2010-11-30 17:23:21 UTC (rev 11677)
@@ -104,6 +104,7 @@
 		break;
 }
 
+use_javascript('/scripts/jquery/jquery-1.4.2.min.js');
 html_use_tooltips();
 use_javascript('scripts/DocManController.js');
 use_javascript('/js/sortable.js');

Modified: branches/Branch_5_1/src/www/docman/scripts/DocManController.js
===================================================================
--- branches/Branch_5_1/src/www/docman/scripts/DocManController.js	2010-11-30 17:20:59 UTC (rev 11676)
+++ branches/Branch_5_1/src/www/docman/scripts/DocManController.js	2010-11-30 17:23:21 UTC (rev 11677)
@@ -30,7 +30,9 @@
 	this.lockInterval	= [];
 	this.params		= params;
 
-	this.initTipsy();
+    if ( typeof(jQuery(window).tipsy) == 'function') {
+	    this.initTipsy();
+    }
 	this.bindControls();
 };
 




More information about the Fusionforge-commits mailing list