mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2070 simulate a click on whole set selection
This commit is contained in:
@@ -242,6 +242,14 @@ $(document).ready(function() {
|
||||
$('input[name=whole_set]').val(this.checked ? all_elements.join(',') : '');
|
||||
});
|
||||
|
||||
{*
|
||||
if the whole set is selected on page load (after a first action has been applied),
|
||||
trigger a change to make sure input[name=whole_set] is updated
|
||||
*}
|
||||
if ($('input[name="setSelected"]').is(':checked')) {
|
||||
$("input[name=setSelected]").trigger('change');
|
||||
}
|
||||
|
||||
jQuery("input[name=confirm_deletion]").change(function() {
|
||||
jQuery("#confirmDel span.errors").css("visibility", "hidden");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user