~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-18 23:59:17 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:498
apps/userservice: Now writes to req.session to avoid having to log out.
www/media/common/tos.js: Refreshes the page after receiving an accept
response.
    (This doesn't seem to wait long enough; I still need to do a manual
    refresh to get in).

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    "application/x-javascript" : "text",
44
44
    "application/javascript" : "text",
45
45
    "application/json" : "text",
46
 
    "application/xml" : "text",
 
46
    "application/xml" : "text"
47
47
};
48
48
 
49
49
/* Mapping MIME types to icons, just the file's basename */
50
50
type_icons = {
51
51
    "text/directory": "dir.png",
52
 
    "text/x-python": "py.png",
 
52
    "text/x-python": "py.png"
53
53
};
54
54
 
55
55
default_type_icon = "txt.png";
65
65
    "added": "added.png",
66
66
    "missing": "missing.png",
67
67
    "deleted": "deleted.png",
68
 
    "modified": "modified.png",
 
68
    "modified": "modified.png"
69
69
};
70
70
 
71
71
/* Mapping SVN status to "nice" strings */
78
78
    "replaced": "Permanent file (replaced)",
79
79
    "modified": "Permanent file (modified)",
80
80
    "merged": "Permanent file (merged)",
81
 
    "conflicted": "Permanent file (conflicted)",
 
81
    "conflicted": "Permanent file (conflicted)"
82
82
};
83
83
 
84
84
default_svn_icon = null;
93
93
 * application can interpret them.
94
94
 */
95
95
types_exec = [
96
 
    "text/x-python",
 
96
    "text/x-python"
97
97
];
98
98
 
99
99