|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
$(document).on('turbolinks:load', function() {
|
|
|
|
|
if ($('body.admins-professional-authentications-index-page').length > 0) {
|
|
|
|
|
var $searchFrom = $('.professional-authentication-list-form');
|
|
|
|
|
$searchFrom.find('select[name="status"]').val('pending');
|
|
|
|
|
|
|
|
|
|
$searchFrom.on('click', '.search-form-tab', function(){
|
|
|
|
|
var $link = $(this);
|
|
|
|
@ -12,6 +13,7 @@ $(document).on('turbolinks:load', function() {
|
|
|
|
|
$searchFrom.find('.status-filter').show();
|
|
|
|
|
} else {
|
|
|
|
|
$searchFrom.find('.status-filter').hide();
|
|
|
|
|
$searchFrom.find('select[name="status"]').val('pending');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|