calendar.js: save selected day start time
set the day start time to the last selecved value for each studio the user is assigned to.
This commit is contained in:
@@ -411,6 +411,15 @@ function getUrl(name,value){
|
||||
return url;
|
||||
}
|
||||
|
||||
function updateDayStart(){
|
||||
var url = "set-user-day-start.cgi?";
|
||||
url += "&project_id=" + getProjectId();
|
||||
url += "&studio_id=" + getStudioId();
|
||||
url += "&day_start=" + $('#day_start').val();
|
||||
console.log(url);
|
||||
$.get(url);
|
||||
}
|
||||
|
||||
// to be called from elements directly
|
||||
function reloadCalendar(){
|
||||
var url=window.location.href;
|
||||
|
||||
Reference in New Issue
Block a user