Skip to content

Commit

Permalink
* fix for search in files
Browse files Browse the repository at this point in the history
  • Loading branch information
giannis committed Dec 23, 2010
1 parent 18726bb commit 2438eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ext/searchinfiles/searchinfiles.js
Expand Up @@ -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.");
}
Expand Down

0 comments on commit 2438eb0

Please sign in to comment.