Created
January 13, 2011 03:40
-
-
Save SeanJA/777345 to your computer and use it in GitHub Desktop.
valums file uploader code igniter patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This patch file was generated by NetBeans IDE | |
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder. | |
# It uses platform neutral UTF-8 encoding. | |
# Above lines and this line are ignored by the patching process. | |
--- fileuploader.js | |
+++ fileuploader.js | |
@@ -1195,7 +1195,9 @@ | |
// build query string | |
params = params || {}; | |
params['qqfile'] = name; | |
- var queryString = qq.obj2url(params, this._options.action); | |
\ No newline at end of file | |
+ //codeigniter fix | |
+ //var queryString = qq.obj2url(params, this._options.action) | |
+ var queryString = this._options.action + '/' + params['qqfile']; | |
\ No newline at end of file | |
xhr.open("POST", queryString, true); | |
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment