浏览代码

Explicitly defined "showMaskChoiceEl" JS variable (#4128)

Koen Verheyen 9 年之前
父节点
当前提交
317fd55716
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/Form/form_admin_fields.html.twig

+ 1 - 1
Resources/views/Form/form_admin_fields.html.twig

@@ -467,7 +467,7 @@ file that was distributed with this source code.
             var allFields = {{ all_fields|json_encode|raw }};
             var map = {{ map|json_encode|raw }};
 
-            showMaskChoiceEl = jQuery('#{{ main_form_name }}{{ name }}');
+            var showMaskChoiceEl = jQuery('#{{ main_form_name }}{{ name }}');
 
             showMaskChoiceEl.on('change', function () {
                 choice_field_mask_show(jQuery(this).val());