|
|
@ -50,11 +50,11 @@ export function initAdminCommon() { |
|
|
|
|
|
|
|
|
|
|
|
function onUsePagedSearchChange() { |
|
|
|
function onUsePagedSearchChange() { |
|
|
|
if ($('#use_paged_search').prop('checked')) { |
|
|
|
if ($('#use_paged_search').prop('checked')) { |
|
|
|
showElem($('.search-page-size')) |
|
|
|
showElem('.search-page-size'); |
|
|
|
.find('input').attr('required', 'required'); |
|
|
|
$('.search-page-size').find('input').attr('required', 'required'); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
hideElem($('.search-page-size')) |
|
|
|
hideElem('.search-page-size'); |
|
|
|
.find('input').removeAttr('required'); |
|
|
|
$('.search-page-size').find('input').removeAttr('required'); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|