update search error for non-indexed books to include archive.org in the path
authorrajbot <raj@archive.org>
Tue, 30 Nov 2010 01:00:55 +0000 (01:00 +0000)
committerrajbot <raj@archive.org>
Tue, 30 Nov 2010 01:00:55 +0000 (01:00 +0000)
BookReader/BookReader.js

index d9eb89b..17d17ee 100644 (file)
@@ -2695,7 +2695,7 @@ BookReader.prototype.BRSearchCallback = function(results) {
         var errStr  = 'No matches were found.';
         var timeout = 1000;
         if (false === results.indexed) {
-            errStr  = "<p>This book isn't in the search engine yet.</p><p>Please <a href='http://openlibrary.org/contact?path=/stream/"+this.bookId+"/search'>drop us a line</a> so we can fix it. Thanks!</p>";
+            errStr  = "<p>This book isn't in the search engine yet.</p><p>Please <a href='http://openlibrary.org/contact?path=archive.org/stream/"+this.bookId+"/search'>drop us a line</a> so we can fix it. Thanks!</p>";
             timeout = 5000;
         }
         $(br.popup).html(errStr);