summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/netmonitor-controller.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-05 20:30:12 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-05 20:30:12 +0100
commit2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8 (patch)
tree2076bb87c352f44ee7a4acac08053a91050c4f12 /devtools/client/netmonitor/netmonitor-controller.js
parentde97f5dd8e9dda4f86296cf829a82cd1d5f59467 (diff)
downloadUXP-2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8.tar
UXP-2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8.tar.gz
UXP-2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8.tar.lz
UXP-2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8.tar.xz
UXP-2f4fa17a5c8eaf44a80c58c524dd27c4229a7eb8.zip
DOMContentLoaded and load does not work properly if "devtools.webconsole.persistlog == true" - is getting higher
Issue #52
Diffstat (limited to 'devtools/client/netmonitor/netmonitor-controller.js')
-rw-r--r--devtools/client/netmonitor/netmonitor-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/netmonitor-controller.js b/devtools/client/netmonitor/netmonitor-controller.js
index 939b6e4f5..39bee8570 100644
--- a/devtools/client/netmonitor/netmonitor-controller.js
+++ b/devtools/client/netmonitor/netmonitor-controller.js
@@ -407,6 +407,9 @@ TargetEventsHandler.prototype = {
if (!Services.prefs.getBoolPref("devtools.webconsole.persistlog")) {
NetMonitorView.RequestsMenu.reset();
NetMonitorView.Sidebar.toggle(false);
+ } else {
+ // If the log is persistent, just clear some informations.
+ NetMonitorView.RequestsMenu.resetNotPersistent();
}
// Switch to the default network traffic inspector view.
if (NetMonitorController.getCurrentActivity() == ACTIVITY_TYPE.NONE) {