From 8d3c6192d7261d780342e9b62d1d4b0c875a4028 Mon Sep 17 00:00:00 2001 From: Yuchen Wang Date: Mon, 17 Oct 2011 14:24:33 -0400 Subject: [PATCH] CC2646: Set a calendar view default (Day/week/month) that's remembered In my last commit, left out the "var" keyword in a piece of code --- airtime_mvc/public/js/airtime/schedule/schedule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/schedule/schedule.js b/airtime_mvc/public/js/airtime/schedule/schedule.js index 5ac30358b..61a6e085c 100644 --- a/airtime_mvc/public/js/airtime/schedule/schedule.js +++ b/airtime_mvc/public/js/airtime/schedule/schedule.js @@ -347,7 +347,7 @@ function createFullCalendar(data){ //Update time scale preference when day/week/month button is clicked $(".fc-button-content").click(function() { - url = '/Schedule/set-time-scale/format/json'; + var url = '/Schedule/set-time-scale/format/json'; $.post(url, {timeScale: $(this).text()}, function(json){ if(json.error) {