From cc1e013ff822aacccf9c8bf9c6c320f5a9f1f606 Mon Sep 17 00:00:00 2001 From: Burlacu Vasilii Date: Sun, 1 Apr 2018 13:48:22 +0300 Subject: [PATCH] Updated Magento_Rule rules.js file Added calendar initializaton for Conditional Rules when a rule is created for the 1st time --- app/code/Magento/Rule/view/adminhtml/web/rules.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Rule/view/adminhtml/web/rules.js b/app/code/Magento/Rule/view/adminhtml/web/rules.js index 5c4be367b9cb3..8127ae77c3a13 100644 --- a/app/code/Magento/Rule/view/adminhtml/web/rules.js +++ b/app/code/Magento/Rule/view/adminhtml/web/rules.js @@ -220,6 +220,8 @@ define([ var elem = Element.down(elemContainer, 'input.input-text'); + jQuery(elem).trigger('contentUpdated'); + if (elem) { elem.focus();