diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index a7e558bda08..0ff43e823a5 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -481,6 +481,11 @@ RefreshUrlbar(); } +function OpenSearch(tabName) +{ + window.openDialog("resource:/res/samples/search.xul", "SearchWindow", "chrome", tabName); +} + function BrowserNewWindow() { if (appCore != null) { diff --git a/suite/browser/navigator.xul b/suite/browser/navigator.xul index 8c8f683a785..f2541fade8c 100644 --- a/suite/browser/navigator.xul +++ b/suite/browser/navigator.xul @@ -159,10 +159,10 @@ Contributor(s): ______________________________________. --> - - - - + + + + @@ -599,10 +599,10 @@ Contributor(s): ______________________________________. --> - - - - + + + + diff --git a/xpfe/browser/resources/content/navigator.js b/xpfe/browser/resources/content/navigator.js index a7e558bda08..0ff43e823a5 100644 --- a/xpfe/browser/resources/content/navigator.js +++ b/xpfe/browser/resources/content/navigator.js @@ -481,6 +481,11 @@ RefreshUrlbar(); } +function OpenSearch(tabName) +{ + window.openDialog("resource:/res/samples/search.xul", "SearchWindow", "chrome", tabName); +} + function BrowserNewWindow() { if (appCore != null) { diff --git a/xpfe/browser/resources/content/navigator.xul b/xpfe/browser/resources/content/navigator.xul index 8c8f683a785..f2541fade8c 100644 --- a/xpfe/browser/resources/content/navigator.xul +++ b/xpfe/browser/resources/content/navigator.xul @@ -159,10 +159,10 @@ Contributor(s): ______________________________________. --> - - - - + + + + @@ -599,10 +599,10 @@ Contributor(s): ______________________________________. --> - - - - + + + +