It looks like you're new here. If you want to get involved, click one of these buttons!
$(\"#entry_remix\").uploadify({
'uploader' : '/javascripts/jquery-uploadify/uploadify.swf',
'script' : '<%= remix_upload_path(@entry) %>',
'cancelImg' : '/javascripts/jquery-uploadify/cancel.png',
'fileDataName' : 'entry[remix]',
'folder' : 'uploads',
'auto' : true,
'multi' : false,
'method' : 'GET',
'scriptData' : { 'user_id':'<%= @encrypted_user_id %>' },
'scriptAccess' : 'always',
'onSelect' : function(){},
'onError' : function(event, qid, file, error) { alert('There has been an error uploading, please try again later! CODE: ' + error.info); },
'onComplete' : function(event, qID, file){ $('#completed_message').show(); }
});
// Additional data to send
$('#entry_title').change(function(){
$(\"#entry_remix\").fileUploadSettings('scriptData',{'title': $('#entry_title').val()});
});
.updateSettings
.uploadifySettings
// Additional data to send
$('#entry_title').change(function(){
$(\"#entry_remix\").uploadifySettings('scriptData',{'title': $('#entry_title').val()});
});
// Additional data to send
$('#entry_title').change(function(){
$(\"#entry_remix\").fileUploadSettings('scriptData',{'title': $('#entry_title').val()});
});
var uploadifyConfig = {
'uploader' : '/js/uploadify.swf',
'script' : '/upload/do_upload',
'cancelImg' : '/assets/images/cancel.png',
'scriptAccess' : 'always',
'folder' : '/uploads',
'multi' : true,
...
}
$(\"#fileInput_1\").uploadify(uploadifyConfig);
uploadifyConfig.folder = '/uploads2';
$(\"#fileInput_2\").uploadify(uploadifyConfig);
function SetProperty( strProperty, strValue )
{
var strVars = $('#fileuploadUploader param[name="flashvars"]').val();
var arrVars = $.urlToArray(strVars); arrVars[ strProperty ] = strValue;
$('#fileuploadUploader param[name="flashvars"]').val(decodeURIComponent($.param(arrVars).replace(/\+/g, '%20')));
}
function SetProperty( strProperty, strValue, strAnchor )
{
$('#fileupload').uploadifySettings(strProperty, strValue);
}
document.getElementById(a(this).attr("id") + "Uploader").updateSettings is not a function
[Break on this error] if(jQuery){(function(a){a.extend(a.fn,...ileUploadQueue(false)})}})})(jQuery)};
function SetProperty( strProperty, strValue )
{
if ( strProperty == 'folder' && strValue.substr(strValue.length - 1, 1) == '/' ) strValue = strValue.substr(0, strValue.length - 1);
$('#fileupload').uploadifySettings(strProperty, strValue);
}
onSWFReady: function() {
$('#view-upload').hide(); // Parent container (#fileupload is within the child nodes)
SetProperty('folder', 'foo');
}