[geeklog-cvs] geeklog: Fixed bug when searching in the Geeklog Configuration t...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu May 10 12:55:56 EDT 2012


changeset 8691:fab0eef73595
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/fab0eef73595
user: dengen
date: Fri May 11 01:52:11 2012 +0900
description:
Fixed bug when searching in the Geeklog Configuration the incorrect tab will come up if the correct tab is hidden in the "more" tab selection

diffstat:

 public_html/javascript/admin.configuration.js |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 04cde1b4796a -r fab0eef73595 public_html/javascript/admin.configuration.js
--- a/public_html/javascript/admin.configuration.js	Wed May 09 02:50:11 2012 +0900
+++ b/public_html/javascript/admin.configuration.js	Fri May 11 01:52:11 2012 +0900
@@ -531,12 +531,15 @@
         document.group.submit();
     }
     
-    // get selected tab and config if passed on url
-    getSelectedConf();
+    // initialize selected tab
+    selectedTab = $("#tabs > ul > li:eq(0) a").attr('href');
     
     // runs overflow handler once in bootstrap
     tabsOverflowHandler();
     
+    // get selected tab and config if passed on url
+    getSelectedConf();
+
     // end bootstrap
     bootstrap = false;
 });



More information about the geeklog-cvs mailing list