Release notes freestyler v6.2007.17
This was an inbetween release for solving Chrome back-button issues after filtering data.
And fixing the freestyler logout button.
Release summary
Bugfix:
Filters of type select are not always re-selected properly by freestyler.
Selectboxes are now checked for both the option value and option text while re-filling html after filtering.
See the minor change in the js fillHtmlitems() call in aspml.js.
Bugfix:
On the webcockpit logout button.
Removed &login from logout url. This avoids auto re-login in the latest versions of Chrome+Firefox.
In general:
Time was spent to build/find a js function for proper retriggering filter queries from history (on DOM ready).
Chrome does not retrigger javascript on a browsers back button, however Chrome does remember the last html selections you made, resulting in strange pages where content is not matching the selections.
We found and tested two general js functions, a JQuery and a plain javascript version.
Plain javascript version for your DOM ready actions:
(function () {
function load2(){
/*your own calls here */
}
if (window.addEventListener) {
window.addEventListener('DOMContentLoaded', load2, false);
} else {
window.attachEvent('onload', load2);
}
} ());
JQuery version for your DOM ready actions:
jQuery(document).ready(function () {/*your own calls here*/});