mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Add support to pass elements to the parent form
This commit is contained in:
@@ -3070,6 +3070,12 @@ if (ref($arr) eq 'ARRAY' && $arr->[0]) {
|
||||
&ui_columns_row([&text('paginator_nosearchrs', &html_escape($search_term))],
|
||||
['colspan="'.$ui_column_colspan.'" align="center"']);
|
||||
}
|
||||
|
||||
# Elements for the parent form, so after submission to
|
||||
# make sure that we return to the right paginated page
|
||||
$rv{'form'} = &ui_hidden("page${id}", $curent_page).
|
||||
&ui_hidden("paginate${id}", $items_per_page).
|
||||
&ui_hidden("search${id}", $search_term);
|
||||
}
|
||||
@$arr = @arr;
|
||||
return \%rv;
|
||||
|
||||
Reference in New Issue
Block a user