Pangea Apartments - Indianapolis
Pangea Apartments - Indianapolis
' + '' + '' + '
'
);
});
up.start();
up.refresh(); // Reposition Flash/Silverlight
});
_self.up.bind('UploadProgress', function(up, file) {
var $upload_handler = $('#'+file.id);
$upload_handler.find('.progress-line').css("width", file.percent + "%");
$upload_handler.find('.progress-text').text(file.percent + "%");
if(file.percent == 100) {
$upload_handler.find('.progress-status-text').text("Step 2/2: Generating Images...");
$upload_handler.find('.progress-text').addClass('completed');
$upload_handler.find('.progress-bar').hide();
$upload_handler.find('.progress-animation').show();
}
//$('#' + file.id + " b").html(file.percent + "%");
});
_self.up.bind('Error', function(up, err) {
if(err.code == "-600") {
jAlert("The file you are trying to upload exceeds the maximum size, please upload a smaller file.");
} else {
jAlert(err.message);
}
up.refresh(); // Reposition Flash/Silverlight
} );
_self.up.bind('FileUploaded', function(up, file, result) {
var $upload_handler = $('#'+file.id);
var response = $.parseJSON(result.response);
if(response.error) {
jAlert(response.error);
$upload_handler.remove();
return;
}
var field_attachment_name = up.settings.multipart_params.media +"_unpublish_attachment[]";
$upload_handler.html(' \
0%
' + '' + '' + '
' +
'');
$upload_handler.attr('id', 'pid_' + response.attachment.unpublish_id);
} );
}
Comments
Post a Comment