diff options
author | Marc Alexander <admin@m-a-styles.de> | 2016-02-17 12:56:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-02-17 12:56:19 +0100 |
commit | 620a8622660c5a00f56ce686e397ed09d9cd4039 (patch) | |
tree | e83f42e00a16f517249302627679b4b7cce3fa3f /phpBB/adm/style/permission_mask.html | |
parent | d429fd03bfaf648a685519dfc7383152611a08e7 (diff) | |
download | forums-620a8622660c5a00f56ce686e397ed09d9cd4039.tar forums-620a8622660c5a00f56ce686e397ed09d9cd4039.tar.gz forums-620a8622660c5a00f56ce686e397ed09d9cd4039.tar.bz2 forums-620a8622660c5a00f56ce686e397ed09d9cd4039.tar.xz forums-620a8622660c5a00f56ce686e397ed09d9cd4039.zip |
[ticket/14315] Add functional tests for permission roles and fix non-js
Without JS the settings were not applied due to duplicate input names.
PHPBB3-14315
Diffstat (limited to 'phpBB/adm/style/permission_mask.html')
-rw-r--r-- | phpBB/adm/style/permission_mask.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/adm/style/permission_mask.html b/phpBB/adm/style/permission_mask.html index cddcac170f..017d29d832 100644 --- a/phpBB/adm/style/permission_mask.html +++ b/phpBB/adm/style/permission_mask.html @@ -42,7 +42,7 @@ {% if p_mask.f_mask.role_options %} <dd style="margin-{S_CONTENT_FLOW_BEGIN}{L_COLON} 20%"> <div class="dropdown-container dropdown-button-control roles-options" data-alt-text="{LA_ROLE_DESCRIPTION}"> - <select id="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]" onchange="set_role_settings(this.options[selectedIndex].value, 'advanced{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}'); init_colours('{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}')">{p_mask.f_mask.S_ROLE_OPTIONS}</select> + <select id="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]">{p_mask.f_mask.S_ROLE_OPTIONS}</select> <span title="Roles" class="button icon-button tools-icon dropdown-trigger dropdown-select">{L_NO_ROLE_ASSIGNED}</span> <div class="dropdown hidden"> <ul class="dropdown-contents" id="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" > @@ -51,7 +51,7 @@ {% endfor %} </ul> </div> - <input type="hidden" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]"{% if p_mask.f_mask.S_ROLE_ID %}value="{{ p_mask.f_mask.S_ROLE_ID }}"{% endif %} /> + <input type="hidden" data-name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]"{% if p_mask.f_mask.S_ROLE_ID %}value="{{ p_mask.f_mask.S_ROLE_ID }}"{% endif %} /> </div> </dd> {% else %} |