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

« back to all changes in this revision

Viewing changes to www/apps/browser/__init__.py

  • Committer: William Grant
  • Date: 2008-07-04 01:39:32 UTC
  • Revision ID: wgrant@ugrad.unimelb.edu.au-20080704013932-o2cev4fmudrc4vu3
www/apps/browser/__init__.py: Fix for regression introduced in r806.
    The path given in the editor's filename entry would be incorrectly
    prefixed in some situations, resulting in a failure to save.

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
      <input type="text" size="30" id="save_filename" value="%s" />
240
240
      <input type="button" id="save_button" value="Saved" onclick="save_file()" />
241
241
    </p>
242
 
""" % cgi.escape(util.make_path(os.path.join("fileservice", req.path))))
 
242
""" % cgi.escape(req.path))