Author: knopp
Date: Thu Sep 18 16:46:47 2008
New Revision: 696855
URL: http://svn.apache.org/viewvc?rev=696855&view=rev
Log:
WICKET-1746
Modified:
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
Modified:
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
URL:
http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js?rev=696855&r1=696854&r2=696855&view=diff
==============================================================================
---
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
(original)
+++
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax.js
Thu Sep 18 16:46:47 2008
@@ -833,14 +833,6 @@
var t = this.transport;
if (t != null) {
- if (Wicket.Browser.isGecko()) {
- var href = document.location.href;
- var lastIndexOf = href.lastIndexOf('/');
- if (lastIndexOf > 0)
- {
- url =
href.substring(0,lastIndexOf+1) + url;
- }
- }
t.open("GET", url, this.async);
t.onreadystatechange =
this.stateChangeCallback.bind(this);
// set a special flag to allow server
distinguish between ajax and non-ajax requests