[eluser]Leon Stafford[/eluser]
Thanks pistolPete!
The SVN version and the config worked a charm!
I wasn't getting the right reference back to my SWFUpload calling page's JS function, so changed:
Code:
function uploadSuccessShop(file, serverData) {
try {
var progress = new FileProgress(file, this.customSettings.progressTarget);
progress.setComplete();
progress.setStatus("Complete.");
progress.toggleCancel(false);
//alert("The file " + file.name + " has been delivered to the server");
addImage("shop",file.name);
} catch (ex) {
this.debug(ex);
}
}
to:
Code:
function uploadSuccessShop(file, serverData) {
try {
var progress = new FileProgress(file, this.customSettings.progressTarget);
progress.setComplete();
progress.setStatus("Complete.");
progress.toggleCancel(false);
//alert("The file " + file.name + " has been delivered to the server");
addImage("shop",serverData); //changed this
} catch (ex) {
this.debug(ex);
}
}
I think that was needed, otherwise it was just the cache fairies messing with me....