[Fusionforge-commits] r14782 - in trunk/src/www: include js
Alain Peyrat
aljeux at fusionforge.org
Wed Nov 9 21:34:37 CET 2011
Author: aljeux
Date: 2011-11-09 21:34:36 +0100 (Wed, 09 Nov 2011)
New Revision: 14782
Added:
trunk/src/www/js/jquery-common.js
Removed:
trunk/src/www/js/tooltips.js
Modified:
trunk/src/www/include/html.php
Log:
Rename tooltips.js to jquery-common.js
Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php 2011-11-09 20:34:31 UTC (rev 14781)
+++ trunk/src/www/include/html.php 2011-11-09 20:34:36 UTC (rev 14782)
@@ -371,7 +371,7 @@
function html_use_tooltips() {
html_use_jquery();
use_javascript('/scripts/jquery-tipsy/src/javascripts/jquery.tipsy.js');
- use_javascript('/js/tooltips.js');
+ use_javascript('/js/jquery-common.js');
use_stylesheet('/scripts/jquery-tipsy/src/stylesheets/tipsy.css');
}
Copied: trunk/src/www/js/jquery-common.js (from rev 14781, trunk/src/www/js/tooltips.js)
===================================================================
--- trunk/src/www/js/jquery-common.js (rev 0)
+++ trunk/src/www/js/jquery-common.js 2011-11-09 20:34:36 UTC (rev 14782)
@@ -0,0 +1,40 @@
+/**
+ * FusionForge Tooltip
+ *
+ * Copyright 2010, Alain Peyrat
+ * Copyright 2011, Franck Villaume - Capgemini
+ * http://fusionforge.org
+ *
+ * This file is part of FusionForge.
+ *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+jQuery(function() {
+ if ( typeof(jQuery(window).tipsy) == 'function') {
+ jQuery('#tracker-monitor').tipsy({gravity: 'n', html: true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-summary').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-assigned_to').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-priority').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-status_id').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-description').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-canned_response').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-comment').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('#tracker-new_artifact_type_id').tipsy({gravity: 'w', html:true, delayIn: 1000, delayOut: 500, fade: true});
+
+ jQuery('select.trove-nodes').tipsy({gravity: 'w', html:true, delayIn: 1000, delayOut: 500, fade: true});
+ jQuery('span.trove-nodes').tipsy({gravity: 'n', html:true, delayIn: 1000, delayOut: 500, fade: true});
+ }
+});
Deleted: trunk/src/www/js/tooltips.js
===================================================================
--- trunk/src/www/js/tooltips.js 2011-11-09 20:34:31 UTC (rev 14781)
+++ trunk/src/www/js/tooltips.js 2011-11-09 20:34:36 UTC (rev 14782)
@@ -1,40 +0,0 @@
-/**
- * FusionForge Tooltip
- *
- * Copyright 2010, Alain Peyrat
- * Copyright 2011, Franck Villaume - Capgemini
- * http://fusionforge.org
- *
- * This file is part of FusionForge.
- *
- * FusionForge is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * FusionForge is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-jQuery(function() {
- if ( typeof(jQuery(window).tipsy) == 'function') {
- jQuery('#tracker-monitor').tipsy({gravity: 'n', html: true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-summary').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-assigned_to').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-priority').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-status_id').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-description').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-canned_response').tipsy({gravity: 'w', html: true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-comment').tipsy({gravity: 'w', delayIn: 1000, delayOut: 500, fade: true});
- jQuery('#tracker-new_artifact_type_id').tipsy({gravity: 'w', html:true, delayIn: 1000, delayOut: 500, fade: true});
-
- jQuery('select.trove-nodes').tipsy({gravity: 'w', html:true, delayIn: 1000, delayOut: 500, fade: true});
- jQuery('span.trove-nodes').tipsy({gravity: 'n', html:true, delayIn: 1000, delayOut: 500, fade: true});
- }
-});
More information about the Fusionforge-commits
mailing list