[wp-trac] [WordPress Trac] #3942: AJAX called fails when
this.requestFile has a "?"
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 9 14:16:06 GMT 2007
#3942: AJAX called fails when this.requestFile has a "?"
----------------------------+-----------------------------------------------
Reporter: tpalmacarlos | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.3
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
in /trunk/wp-includes/js/tw-sack.js line 133, AJAX called fails when
this.requestFile has a "?"
I noticed this issue using the "WP-Polls" ajax plugin:
http://www.lesterchan.net/portfolio/programming.php (when pressing View
Results).
The fix:
if( this.requestFile.indexOf(
this.queryStringSeparator ) )
totalurlstring =
this.requestFile + this.argumentSeparator + this.URLString;
else
totalurlstring =
this.requestFile + this.queryStringSeparator + this.URLString;
--
Ticket URL: <http://trac.wordpress.org/ticket/3942>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list