search entries foldable
This commit is contained in:
@@ -317,6 +317,10 @@
|
||||
initEnregistrementTranscript();
|
||||
}
|
||||
|
||||
if(state.sys_path == "search"){
|
||||
initSearch();
|
||||
}
|
||||
|
||||
// update the language switcher block if it comes in the response
|
||||
if(typeof data.translations_links != 'undefined'){
|
||||
console.log('state',state);
|
||||
@@ -1507,6 +1511,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ___ _
|
||||
// / __| ___ __ _ _ _ __| |_
|
||||
// \__ \/ -_) _` | '_/ _| ' \
|
||||
// |___/\___\__,_|_| \__|_||_|
|
||||
function initSearch(){
|
||||
// if($('#edit-entries input:checked', '#edlp-search-form').length){
|
||||
// $('#edit-entries--wrapper', '#edlp-search-form').toggleClass('opened');
|
||||
// }
|
||||
$('#edit-entries--wrapper legend', '#edlp-search-form').on('click', function(){
|
||||
$(this).parent().toggleClass('opened');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// ___ _ _ _
|
||||
// | __|_ _ _ _ ___ __ _(_)__| |_ _ _ ___ _ __ ___ _ _| |_
|
||||
// | _|| ' \| '_/ -_) _` | (_-< _| '_/ -_) ' \/ -_) ' \ _|
|
||||
|
||||
Reference in New Issue
Block a user