projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad7b6a9
)
Ménage, lint.
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 14 Apr 2015 07:47:07 +0000
(09:47 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 14 Apr 2015 07:47:07 +0000
(09:47 +0200)
Products/Plinn/skins/ajax_scripts/root_handlers.js
patch
|
blob
|
history
diff --git
a/Products/Plinn/skins/ajax_scripts/root_handlers.js
b/Products/Plinn/skins/ajax_scripts/root_handlers.js
index
47ac1d7
..
26c3769
100644
(file)
--- a/
Products/Plinn/skins/ajax_scripts/root_handlers.js
+++ b/
Products/Plinn/skins/ajax_scripts/root_handlers.js
@@
-75,7
+75,7
@@
AjaxLinkHandler.prototype.loadUrl = function(url, noPush) {
return;
}
if (!noPush)
return;
}
if (!noPush)
- history.pushState(rawUrl, '', rawUrl)
+ history.pushState(rawUrl, '', rawUrl)
;
};
function ajaxSubmitFormHandler(evt) {
};
function ajaxSubmitFormHandler(evt) {
@@
-102,6
+102,5
@@
function _addRootHandlers() {
}
}
}
}
-registerStartupFunction(_addRootHandlers);
-
+addListener(window, 'load', _addRootHandlers);
})();
\ No newline at end of file
})();
\ No newline at end of file