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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-01-20 21:44:25 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:252
setup.py: Added action "updatejails" which wipes all student jails, replacing
them with fresh hardlinks from jails template (preserving the students' home
directories).

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
svn_icons_path = "media/images/svn";
88
88
 
89
 
published_icon = "media/images/interface/published.png";
90
 
 
91
89
/* List of MIME types considered "executable" by the system.
92
90
 * Executable files offer a "run" link, implying that the "serve"
93
91
 * application can interpret them.
120
118
 *      Defaults to "application/x-www-form-urlencoded".
121
119
 *      "multipart/form-data" is recommended for large uploads.
122
120
 */
123
 
function do_action(action, path, args, content_type, ignore_response)
 
121
function do_action(action, path, args, content_type)
124
122
{
125
123
    args.action = action;
126
124
    /* Call the server and perform the action. This mutates the server. */
131
129
    if (error != null)
132
130
        alert("Error: " + error.toString() + ".");
133
131
    /* Now read the response and set up the page accordingly */
134
 
    if (ignore_response != true)
135
 
        handle_response(path, response);
 
132
    handle_response(path, response);
136
133
}
137
134
 
138
135
/** Calls the server using Ajax, requesting a directory listing. This should