Quote:
Originally Posted by Null Parameter
Going through this thread I never found a definite solution to fixing the "Edit" link not doing anything when clicked. Some have pointed out that this may be due to TCatt Image Resizer, of that I'm not sure, but I do have a solution that doesn't involve uninstalling and reinstalling everything.
If you open up ajax_wrapper.js and change this code:
Code:
_ajax.prototype.encode_datastream = function(_datastream)
{
_datastream = _datastream.split('&')
for (key in _datastream)
{
if (_datastream[key].match(/\=/))
{
bits = _datastream[key].split('=')
_datastream[key] = bits[0] + '=' + encodeURIComponent(bits[1])
}
}
return _datastream.join('&')
}
To This:
Code:
_ajax.prototype.encode_datastream = function(_datastream)
{
_datastream = _datastream.split('&')
for (key in _datastream)
{
if (_datastream[key].toString().match(/\=/))
{
bits = _datastream[key].toString().split('=')
_datastream[key] = bits[0] + '=' + encodeURIComponent(bits[1])
}
}
return _datastream.join('&')
}
That got rid of the Javascript errors for me, and I have TCatt installed and it is all working just fine. I hope this helps a lot of you out. Enjoy!
|
Thanks!
That got the ajax working
w00t!