Created
November 9, 2021 12:26
-
-
Save ichaykin/7b588dfb26a1eff16a30f8d84f0694bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/tygh/backend/promotion_update.js b/js/tygh/backend/promotion_update.js | |
index de999b7507..93e9159e94 100644 | |
--- a/js/tygh/backend/promotion_update.js | |
+++ b/js/tygh/backend/promotion_update.js | |
@@ -111,8 +111,9 @@ | |
} | |
this.$childSelect.attr('multiple', childSelect2Settings.multiple); | |
- this.$childInput.addClass('hidden'); | |
this.$childSelect.prop('disabled', false); | |
+ this.$childInput.addClass('hidden'); | |
+ this.$childInput.prop('disabled', true); | |
var value = $.makeArray(this.$childSelect.val()).filter(function (val) { return Boolean(val); } ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment