diff --git a/js/rooms_periodic_pricing_management.js b/js/rooms_periodic_pricing_management.js index e96f3c2..f85331b 100644 --- a/js/rooms_periodic_pricing_management.js +++ b/js/rooms_periodic_pricing_management.js @@ -59,7 +59,7 @@ Drupal.behaviors.roomsPricing = { var unit_name = Drupal.settings.roomsUnitManagement.roomsName[c]; $(value[0]).once().fullCalendar({ - schedulerLicenseKey: Drupal.settings.roomsCalendar.schedulerLicenseKey, + schedulerLicenseKey: '0297822786-fcs-1455697240', height: 250, slotWidth: 60, editable: false, diff --git a/roomify_periodic_pricing.module b/roomify_periodic_pricing.module index cfef673..8449580 100644 --- a/roomify_periodic_pricing.module +++ b/roomify_periodic_pricing.module @@ -786,7 +786,6 @@ function roomify_periodic_pricing_bulk_pricing_management($year = '', $month = ' // display. drupal_add_js(array('roomsCalendar' => array('currentMonth' => intval($month))), 'setting'); drupal_add_js(array('roomsCalendar' => array('currentYear' => intval($year))), 'setting'); - drupal_add_js(array('roomsCalendar' => array('schedulerLicenseKey' => $schedulerlicensekey)), 'setting'); // If year is not set then give it the current date. $year = ($year == '') ? date('Y', time()) : $year;