~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-02-05 01:41:15 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:409
Moved www/conf and www/common to a new directory lib. This separates the "web"
part of IVLE from what is becoming less web oriented (at least from Apache's
standpoint).
Modified setup.py to install this lib directory correctly and write conf in
the right place. Also adds the lib directory to ivle.pth.

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