It looks like you're new here. If you want to get involved, click one of these buttons!
if('#fileInputUploader').length == 0)
{
//// create uploaders
}
else
{
//// otherwise just change the folder property
var newfolder = \"/learnerzone/files/home/\"+ dir;
alert(\"before\"); /// executes correctly
$('#fileInput').uploadifySettings('folder', newfolder);
alert(\"done\"); /// never happens and script execution halts
$('#fileInput2').uploadifySettings('folder', newfolder);
}
document.getElementById(a(this).attr(\"id\") + \"Uploader\").updateSettings is not a function
[Break on this error] if(jQuery){(function(a){a.extend(a.fn,{u...rFileUploadQueue(false)})}})})(jQuery)};
http://www.ldr2.co.uk/learnerzone/Modules/uploadify/jquery.uploadify.v2.0.3.min.js
Line 26
$('#fileInput').uploadifySettings('folder', /learnerzone/files/home/\"+ dir);
showDialog: function(modal, width, fn) {
_modal = modal;
modal.dialog({
closeOnEscape: true,
bgiframe: true,
autoOpen: false,
width: width,
modal: true
});
if (fn && typeof (fn) == \"function\") {
fn();
}
modal.dialog(\"open\");
showDialog($modal, 480, function() {
$(\"#mdlUploadFileInput\").uploadify({
'uploader': '../js/uploadify/uploadify.swf',
'script': '/post/submits.aspx',
'folder': '/post',
'cancelImg': '/js/uploadify/cancel.png',
'multi': true,
'auto': true,
'queueSizeLimit': 3,
'scriptData': { 'action': 'fileUpload', 'prnID': s.getFolder(true), 'prjID': s.getProject() },
'onComplete': function() { return false; }
});
$('#fileInput').uploadifySettings('folder', /learnerzone/files/home/\"+ dir);
$('#fileInput').uploadifySettings('folder', '/learnerzone/files/home/'+ dir);