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
This commit is contained in:
Yuchen Wang 2011-10-17 14:24:33 -04:00
parent 8b2a23b88a
commit 8d3c6192d7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {