Commit 4908b12b authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1674801: Group roles to not be disabled fields in sharing form



Otherwise their value is not saved on subsequent form submission

behatnotneeded

Change-Id: Icb5a8ccea9bddd2775ed840cf636af1550c13d27
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 759c87f8
......@@ -81,7 +81,7 @@
</select>
</div>
<span class="picker input-short{% if (!o.presets.role) { %} hidden{% } %}">
<select data-roles="grouproles" name="accesslist[{%=o.id%}][role]" class="form-control input-small select" {% if (o.presets.role) { %}disabled{% } %}>
<select data-roles="grouproles" name="accesslist[{%=o.id%}][role]" class="form-control input-small select">
{% if (o.presets.role) { %}<option value="{%=o.presets.role%}" selected>{%=o.presets.roledisplay%}</option>{% } %}
</select>
</span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment