diff --git a/info.xml b/info.xml index 9962f556..4cf665b4 100644 --- a/info.xml +++ b/info.xml @@ -16,7 +16,7 @@ 2016-07-15 - 1.5.1 + 1.5.2 stable 4.5 diff --git a/js/booking/add-sub-resource/view.js b/js/booking/add-sub-resource/view.js old mode 100644 new mode 100755 index cea6c44c..e4583271 --- a/js/booking/add-sub-resource/view.js +++ b/js/booking/add-sub-resource/view.js @@ -399,6 +399,7 @@ CRM.BookingApp.module('AddSubResource', function(AddSubResource, BookingApp, Bac }, 'api.option_value.get':{ value: '$value.unit_id', + sequential: 1, option_group_id: '$value.api.option_group.get.id' } } diff --git a/templates/CRM/Booking/Form/SelectResource.js b/templates/CRM/Booking/Form/SelectResource.js index 16833a61..eaff6534 100755 --- a/templates/CRM/Booking/Form/SelectResource.js +++ b/templates/CRM/Booking/Form/SelectResource.js @@ -167,7 +167,7 @@ cj(function ($) { }, 'api.option_value.get': { value: '$value.unit_id', - sequental: 1, + sequential: 1, option_group_id: '$value.api.option_group.get.value' } }