From f6a3d42ab5f55ab360c7f34e04d18027a18e6292 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 28 Oct 2009 17:02:41 -0400 Subject: [PATCH] Update help status line parser. --- common/content/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/ui.js b/common/content/ui.js index 70363bd8..6bdaecd6 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -2174,8 +2174,8 @@ function StatusLine() //{{{ } else { - url = url.replace(RegExp("^chrome://liberator/locale/(\\S+\\.html)#(.*)"), function (m, n1, n2) n1 + " " + decodeURIComponent(n2) + " [Help]"); - url = url.replace(RegExp("^chrome://liberator/locale/(\\S+\\.html)"), "$1 [Help]"); + url = url.replace(RegExp("^liberator://help/(\\S+)#(.*)"), function (m, n1, n2) n1 + " " + decodeURIComponent(n2) + " [Help]") + .replace(RegExp("^liberator://help/(\\S+)"), "$1 [Help]"); } // when session information is available, add [+] when we can go