diff --git a/common/content/events.js b/common/content/events.js index 730ec02f..2134b214 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -298,8 +298,6 @@ function Events() //{{{ { // TODO: is all of that necessary? modes.reset(); - commandline.clear(); - modes.show(); statusline.updateTabCount(); tabs.updateSelectionHistory(); @@ -1179,7 +1177,6 @@ function Events() //{{{ selection.collapseToStart(); } catch (e) {} - commandline.clear(); modes.reset(); liberator.focusContent(true); diff --git a/common/content/liberator.js b/common/content/liberator.js index af1aa88b..70d4bbfd 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -1215,6 +1215,8 @@ const liberator = (function () //{{{ config.dialogs = config.dialogs || []; config.helpFiles = config.helpFiles || []; + liberator.triggerObserver("load"); + // commands must always be the first module to be initialized loadModule("commands", Commands); loadModule("options", Options); diff --git a/common/content/liberator.xul b/common/content/liberator.xul index fe7c63a7..3be74c0b 100644 --- a/common/content/liberator.xul +++ b/common/content/liberator.xul @@ -79,13 +79,16 @@ the terms of any one of the MPL, the GPL or the LGPL. onclick="liberator.modules.commandline.onMultilineOutputEvent(event)"/> - + + + +