Saving without touching anything reset color to black
This commit is contained in:
parent
628d5ae5c3
commit
ebea2b581b
2 changed files with 3 additions and 2 deletions
|
@ -105,7 +105,7 @@ ff:ff:ff:ff:ff:fe,10.6.122.99
|
|||
# {"color": "blue", "reserved-by": "Andy"}
|
||||
ff:ff:ff:ff:ff:fe,10.6.122.100
|
||||
# {"color": "purple", "reserved-by": "Andy"}
|
||||
12:24:42:23:24:45,10.6.122.101,set:client122442232445
|
||||
12:24:42:23:24:45,aa:bb:cc:dd:ee:ff,10.6.122.101,set:client122442232445
|
||||
ff:ff:ff:ff:ff:fe,10.6.122.102
|
||||
ff:ff:ff:ff:ff:fe,10.6.122.103
|
||||
ff:ff:ff:ff:ff:fe,10.6.122.104
|
||||
|
|
|
@ -51,7 +51,8 @@
|
|||
{%- if color != 'black' %} data-color="{{ color }}"{% endif %}
|
||||
><i class="fa fa-square"></i></span>
|
||||
{% endfor %}
|
||||
<input type="hidden" id="label-color" name="label-color" value=""/>
|
||||
<input type="hidden" id="label-color" name="label-color"
|
||||
value="{{ meta.color if meta.color }}"/>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in a new issue