Merge branch 'whmcs-login' into whmcs-login-saas

This commit is contained in:
Albert Santoni 2014-06-20 18:11:25 -04:00
commit 1da3424fa9
1 changed files with 2 additions and 2 deletions
airtime_mvc/public/js/airtime/schedule

View File

@ -35,7 +35,7 @@ function makeTimeStamp(date){
function dayClick(date, allDay, jsEvent, view){
// The show from will be preloaded if the user is admin or program manager.
// Hence, if the user if DJ then it won't open anything.
if(userType == "A" || userType == "P"){
if(userType == "S" || userType == "A" || userType == "P"){
var now, today, selected, chosenDate, chosenTime;
now = adjustDateToServerDate(new Date(), serverTimezoneOffset);
@ -163,7 +163,7 @@ function viewDisplay( view ) {
if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none') && ($('.fc-header-left > span').length == 5)) {
//userType is defined in bootstrap.php, and is derived from the currently logged in user.
if(userType == "A" || userType == "P"){
if(userType == "S" || userType == "A" || userType == "P"){
makeAddShowButton();
}
}