From 9bf67e67b5b8202dec2c62c6e78461ed8ea60a53 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 4 Jan 2012 20:44:07 +0530 Subject: [PATCH] ability to make links to inner tabs --- itf/static/js/insidepage.js | 6 ++-- itf/templates/modules/festival/meeting.html | 35 +++++++++++---------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/itf/static/js/insidepage.js b/itf/static/js/insidepage.js index b38425d..b6fd047 100755 --- a/itf/static/js/insidepage.js +++ b/itf/static/js/insidepage.js @@ -1,3 +1,5 @@ +var queryData; + $('#listLeft ul li a').live("click", function() { if ($(this).hasClass("listLeftSelected")) { return false; @@ -281,8 +283,8 @@ $(function() { var State = History.getState(); // console.log(State); - - var queryData = QueryStringToJSON(State.hash); + + queryData = QueryStringToJSON(State.hash); doState(queryData); diff --git a/itf/templates/modules/festival/meeting.html b/itf/templates/modules/festival/meeting.html index aea6112..764f583 100755 --- a/itf/templates/modules/festival/meeting.html +++ b/itf/templates/modules/festival/meeting.html @@ -159,30 +159,31 @@