msgtplui - Edit.html - Fix warning
authorTim Otten <totten@civicrm.org>
Sun, 20 Jun 2021 05:19:56 +0000 (22:19 -0700)
committerCiviCRM <info@civicrm.org>
Fri, 24 Sep 2021 04:04:29 +0000 (21:04 -0700)
ext/msgtplui/ang/msgtplui/Edit.html

index 5309046077e2823c4f8f6121c0f72e639ad816cd..18a8915b205bdae8e7f86818dcebd2e2f5ba855d 100644 (file)
@@ -16,7 +16,7 @@
       <label for="msgtpl_language">
         {{:: ts('Locale') }} <span class="crm-marker">*</span>
       </label>
-      <input ng-model="$ctrl.locales[$ctrl.lang] || $ctrl.lang" class="form-control" id="msgtpl_language" required title="{{:: ts('Required') }}" ng-disabled="true" />
+      <input ng-model="$ctrl.locales[$ctrl.lang]" class="form-control" id="msgtpl_language" required title="{{:: ts('Required') }}" ng-disabled="true" />
       <!-- TODO: Pretty name -->
     </div>