Skip to content

Commit

Permalink
RP-27: 'schedulerLicenseKey' is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolò Caruso committed Jun 6, 2016
1 parent 9e71ba9 commit cc22ebf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion js/rooms_periodic_pricing_management.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion roomify_periodic_pricing.module
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc22ebf

Please sign in to comment.