1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 20:15:45 +01:00

added PageLoadPre autocmd event.

This commit is contained in:
Tim Hammerquist
2008-06-23 08:42:08 +00:00
parent 3c4160116b
commit e9072147e5
2 changed files with 3 additions and 0 deletions

View File

@@ -1405,6 +1405,8 @@ liberator.Events = function () //{{{
liberator.buffer.loaded = 0;
liberator.statusline.updateProgress(0);
liberator.autocommands.trigger("PageLoadPre", liberator.buffer.URL);
// don't reset mode if a frame of the frameset gets reloaded which
// is not the focused frame
if (document.commandDispatcher.focusedWindow == webProgress.DOMWindow)