escape dimension if it is variable name

This commit is contained in:
Mitsuhiro Tanda
2015-08-21 20:09:23 +09:00
parent d75d4a5c08
commit f1e5238e16
2 changed files with 17 additions and 1 deletions

View File

@@ -97,7 +97,7 @@
<li class="tight-form-item" style="width: 100px">
Dimensions
</li>
<li ng-repeat="(key, value) in target.dimensions track by $index" class="tight-form-item">
<li ng-repeat="(key, value) in target.escapedDimensions track by $index" class="tight-form-item">
{{key}}&nbsp;=&nbsp;{{value}}
<a ng-click="removeDimension(key)">
<i class="fa fa-remove"></i>