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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-02-28 21:39:17 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:613
browser/listing.js: Added action_selectall which can either select all or
    deselect all files in the listing.
browser/__init__.py: Select "All" and "None" links point to action_selectall
    and are now functional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
    """
202
202
    if isdir:
203
203
        req.write("""Select:
204
 
    <a onclick="selectall()">All</a> :
205
 
    <a onclick="selectnone()">None</a>
 
204
    <a onclick="action_selectall(true)"
 
205
        title="Select all files in this directory">All</a> :
 
206
    <a onclick="action_selectall(false)"
 
207
        title="Deselect all files in this directory">None</a>
206
208
""")
207
209
    else:
208
210
        # TODO