From 2438eb0e3c749d5c6957a539637468cb81890bd0 Mon Sep 17 00:00:00 2001 From: giannis Date: Thu, 23 Dec 2010 15:31:50 +0100 Subject: [PATCH] * fix for search in files --- client/ext/searchinfiles/searchinfiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ext/searchinfiles/searchinfiles.js b/client/ext/searchinfiles/searchinfiles.js index 23ce217043b..fd928883fa9 100644 --- a/client/ext/searchinfiles/searchinfiles.js +++ b/client/ext/searchinfiles/searchinfiles.js @@ -103,7 +103,7 @@ return ext.register("ext/searchinfiles/searchinfiles", { toggleDialog: function(isReplace, forceShow) { ext.initExtension(this); - if (apf.isWin) { + if (apf.isWin && (location.host.indexOf('localhost') > -1 || location.host.indexOf('127.0.0.1') > -1)) { return util.alert("Search in Files", "Not Supported", "I'm sorry, searching through files is not yet supported on the Windows platform."); }