Author: thorsten
Date: Fri Oct 28 03:25:41 2005
New Revision: 329177

URL: http://svn.apache.org/viewcvs?rev=329177&view=rev
Log:
Allowed as well localhost as local address for jetty.

Modified:
    forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js

Modified: forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js
URL: 
http://svn.apache.org/viewcvs/forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js?rev=329177&r1=329176&r2=329177&view=diff
==============================================================================
--- forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js 
(original)
+++ forrest/trunk/tools/forrestbar/xpi/chrome/content/forrestbarOverlay.js Fri 
Oct 28 03:25:41 2005
@@ -61,11 +61,11 @@
 
   return( (typeof(href) != 'undefined') &&
           (href.substr) &&
-          (startsWith(href, 'http://127.0.0.1:8888/') )
+          (startsWith(href, 'http://127.0.0.1:8888/') | startsWith(href, 
'http://localhost:8888/'))
         );
 }
 
 function startsWith(st, pref)
 {
   return( (pref.length > 0) && (st.substring(0, pref.length) == pref) );
-}
\ No newline at end of file
+}


Reply via email to