Redirection settings
[Section 4: Upload Settings]

These variables control redirection after the upload. More...

Functions

function get_upload_redirect_query_string (pub)
 Redirection query string generation.

Variables

var upload_reload_on_success
 Reload browser upon successful upload [bool].
var upload_next_page_success
 Redirect location for users after successful uploads [bool].

Detailed Description


Function Documentation

function get_upload_redirect_query_string ( pub   ) 

This function is called from the uploadComplete() event handler in flixpub_advanced.js. It will only be called for successful uploads.

The string returned by this function will be used in the following manner:

    query_str = get_upload_redirect_query_string(plugin_object);

    if (query_str.length > 0 && query_str.charAt(0) === "?")
        document.location = upload_next_page_success + query_str;
    else                
        document.location = upload_next_page_success;

See also:
Flix Publisher API Documentation


Variable Documentation

var upload_reload_on_success

Set upload_reload_on_success to true to have the reference application reload the page when an upload is successful.

var upload_next_page_success

If the length of the upload_next_page_success string is non-zero, the user's browser will be directed to upload_next_page_success via a document.location = upload_next_page_success;


On2 Flix Publisher documentation, generated on Mon Jan 7 18:13:01 2008 by doxygen 1.5.4 On2 Technologies, Inc