Skip to content

Commit

Permalink
Merge pull request #3 from mageworx/compatibility_new
Browse files Browse the repository at this point in the history
Update compatibility with latest module version
  • Loading branch information
SiarheyUchukhlebau committed Apr 8, 2022
2 parents 1b081f4 + 0f1e1b7 commit f73d5af
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 34 deletions.
2 changes: 1 addition & 1 deletion Observer/CheckoutLayoutModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CheckoutLayoutModifier implements ObserverInterface
*/
public function execute(Observer $observer)
{
/** @var \MageWorx\Checkout\Api\LayoutModifierAccess $subject */
/** @var \MageWorx\Checkout\Api\LayoutModifierAccessInterface $subject */
$subject = $observer->getSubject();
/** @var array $jsLayout */
$jsLayout = &$subject->getJsLayout();
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mageworx/module-deliverydate" : ">=1.8.6 < 1.14"
},
"type": "magento2-module",
"version": "1.0.2",
"version": "1.0.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
3 changes: 0 additions & 3 deletions view/frontend/requirejs-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ var config = {
mixins: {
'MageWorx_DeliveryDate/js/checkout/time_range': {
'MageWorx_DeliveryDateCheckout/js/mixin/time-range-mixin': true
},
'MageWorx_DeliveryDate/js/checkout/delivery_date_manager': {
'MageWorx_DeliveryDateCheckout/js/mixin/delivery_date_manager-mixin': true
}
}
}
Expand Down
24 changes: 0 additions & 24 deletions view/frontend/web/js/mixin/delivery_date_manager-mixin.js

This file was deleted.

10 changes: 5 additions & 5 deletions view/frontend/web/template/form/element/date/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
autocomplete="off"
data-bind="
hasFocus: focused,
datepicker: {
storage: shiftedValue,
options: options
},
valueUpdate: valueUpdate,
attr: {
value: shiftedValue,
name: inputName,
id: 'delivery-day-' + method.method_code + '_' + method.carrier_code,
id: uid,
placeholder: placeholder,
'aria-describedby': noticeId,
disabled: disabled,
autocomplete: autocomplete
},
datepicker: {
storage: shiftedValue,
options: options
}"/>

0 comments on commit f73d5af

Please sign in to comment.