Merge pull request #861 from qooob/patch-26

Prevent elements with the same id
This commit is contained in:
Jamie Cameron
2018-03-13 22:34:36 -07:00
committed by GitHub

View File

@ -269,7 +269,7 @@ sub print_interface {
# Render current directory entries
print &ui_form_start("", "post", undef, "id='list_form'");
@ui_columns = (
'<input id="select-unselect" type="checkbox" onclick="selectUnselect(this)" />',
'<input class="_select-unselect_" type="checkbox" onclick="selectUnselect(this)" />',
''
);
push @ui_columns, ('<span data-head-name>' . $text{'name'} . '</span>');