Bug 13307: Fix search boxes disappearing when returning to advanced search
http://bugs.koha-community.org/show_bug.cgi?id=13307 Signed-off-by: Marc Veron <veron@veron.ch> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> http://bugs.koha-community.org/show_bug.cgi?id=13364 Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
f94d4526e5
commit
90f6f143c7
|
|
@ -423,12 +423,12 @@ $(document).ready(function() {
|
|||
if (numPar > [% search_boxes_count %]){
|
||||
jQuery.cookie("num_paragraph", numPar,{ path: '/'});
|
||||
}else{
|
||||
jQuery.cookie("num_paragraph", null,{ path: '/'});
|
||||
jQuery.removeCookie("num_paragraph", { path: '/'});
|
||||
}
|
||||
jQuery.cookie("search_path_code", 'exs',{ path: '/'});
|
||||
[% ELSE %]
|
||||
jQuery.cookie("search_path_code", 'ads',{ path: '/'});
|
||||
jQuery.cookie("num_paragraph", null,{ path: '/'});
|
||||
jQuery.removeCookie("num_paragraph", { path: '/'});
|
||||
[% END %]
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue