Created
March 28, 2016 12:54
-
-
Save incrize/50cb2c37f7d5f603e986 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/design/backend/templates/views/promotions/update.tpl b/design/backend/templates/views/promotions/update.tpl | |
index 4ac395d..b4259ed 100644 | |
--- a/design/backend/templates/views/promotions/update.tpl | |
+++ b/design/backend/templates/views/promotions/update.tpl | |
@@ -178,7 +178,7 @@ function fn_promotion_rebuild_mixed_data(items, value, id, element_id, condition | |
} | |
} | |
} else { | |
- $('#mixed_input_' + id).val(element_id == l ? condition_value : '').show().prop('disabled', false).removeClass('hidden'); | |
+ $('#mixed_input_' + id).val(element_id == k ? condition_value : '').show().prop('disabled', false).removeClass('hidden'); | |
$('#mixed_select_' + id).hide().prop('disabled', true); | |
$('#mixed_ajax_select_' + id).parents('.cm-ajax-select-object').hide(); | |
$('#mixed_input_' + id + '_name').val('').hide().prop('disabled', true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment