[Koha-bugs] [Bug 9811] Patrons search improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 6 10:45:37 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9811

Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boutrosboutrosboutros at gmail
                   |                            |.com

--- Comment #82 from Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> ---
> > - Problems with Back button : old searches are saved and performed
> 
> I don't know how to fix that :-/ I will see while the QA step.

> I don't have a solution for that. A workaround would be to open the patron  detail page into a new tab/window.

Note: I havent tried this patch, but I recently resolved a similar issue in
another project.

Most browsers now use something called BFCache (back-forward cache) witch means
that when you click back button, the page is not reloaded, and scripts not
rerun, The page is still in browser memory, so it just revert to previous
state.

To force any action when you are going back, you have to listen for the
"pageshow" event. For example with jqUery:
$(window).bind("pageshow", function() {
  // clear input fields here!
});

You can read about BFcache logic here:
https://developer.mozilla.org/en-US/docs/Working_with_BFCache

Hope this helps!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list