1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 01:54:00 +02:00

Fix AJAX history after reload

This commit is contained in:
Jakub Vrana
2011-03-24 08:24:57 +01:00
parent 5ee14079b8
commit fa832055c8
4 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,9 @@
* @param string first three characters of database system version
*/
function bodyLoad(version) {
onpopstate(history); // copied from editor/static/editing.js
if (history.state !== undefined) { // copied from editor/static/editing.js
onpopstate(history);
}
var jushRoot = '../externals/jush/';
var script = document.createElement('script');
script.src = jushRoot + 'jush.js';