[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2191-g2494889

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Sep 20 15:48:08 CEST 2017


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  2494889f67a760121d8d66ea0b94e1bddf548e45 (commit)
      from  9a6bbd786ef54144a60f818b4c3e15cc6ff7d9b6 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2494889f67a760121d8d66ea0b94e1bddf548e45

commit 2494889f67a760121d8d66ea0b94e1bddf548e45
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Sep 20 13:48:02 2017 +0000

    revert usage of selectmenu jqueryui widget.

diff --git a/src/www/include/Layout.class.php b/src/www/include/Layout.class.php
index 76ea676..18b6206 100644
--- a/src/www/include/Layout.class.php
+++ b/src/www/include/Layout.class.php
@@ -531,7 +531,7 @@ abstract class Layout extends FFError {
 				return '';
 			} else {
 				$result = html_ao('div', array('id' => 'quicknavdiv'));
-				$result .= html_ao('select', array('name' => 'quicknav', 'id' => 'quicknav', 'onchange' => 'location.href=document.quicknavdiv.quicknav.value'));
+				$result .= html_ao('select', array('name' => 'quicknav', 'id' => 'quicknav', 'onchange' => 'if (this.value) window.location.href=this.value'));
 				$result .= html_e('option', array('value' => ''), _('Quick Jump To...'), false);
 				if (!forge_get_config('use_quicknav_default') && session_get_user()->getPreference('quicknav_mode')) {
 					$groups = session_get_user()->getActivityLogGroups();
diff --git a/src/www/themes/funky/Theme.class.php b/src/www/themes/funky/Theme.class.php
index 62bf208..53dd511 100644
--- a/src/www/themes/funky/Theme.class.php
+++ b/src/www/themes/funky/Theme.class.php
@@ -76,11 +76,6 @@ class Theme_Funky extends Layout {
 				jQuery(":button").button();
 				jQuery("[id^=tabber").tabs();
 				jQuery("input").filter(\'[type="number"]\').spinner();
-				jQuery("select").filter(":visible").not(\'[multiple="multiple"],[form="trackerform"]\').selectmenu({change: function( event, ui ) {
-								if (ui.item.element.context.parentNode.id == "quicknav") {
-									location.href = ui.item.value;
-								}
-							}});
 			});
 			//]]>'."\n";
 		if ($use_tooltips) {

-----------------------------------------------------------------------

Summary of changes:
 src/www/include/Layout.class.php     | 2 +-
 src/www/themes/funky/Theme.class.php | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list