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:
parent
8b2a23b88a
commit
8d3c6192d7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue