~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/media/browser/browser.js

  • Committer: dcoles
  • Date: 2008-02-13 04:10:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:443
Added Forum application along with unmodifed version of phpBB3 "Olympus" 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 *      Defaults to "application/x-www-form-urlencoded".
121
121
 *      "multipart/form-data" is recommended for large uploads.
122
122
 */
123
 
function do_action(action, path, args, content_type)
 
123
function do_action(action, path, args, content_type, ignore_response)
124
124
{
125
125
    args.action = action;
126
126
    /* Call the server and perform the action. This mutates the server. */
131
131
    if (error != null)
132
132
        alert("Error: " + error.toString() + ".");
133
133
    /* Now read the response and set up the page accordingly */
134
 
    handle_response(path, response);
 
134
    if (ignore_response != true)
 
135
        handle_response(path, response);
135
136
}
136
137
 
137
138
/** Calls the server using Ajax, requesting a directory listing. This should