fixed profile avatar support.
@@ -1,4 +1,4 @@ | ||
1 | -# -*- coding: iso-8859-1 -*- | |
1 | +# -*- coding: utf-8 -*- | |
2 | 2 | # |
3 | 3 | # Copyright 2008 Optaros, Inc. |
4 | 4 | # |
@@ -62,5 +62,6 @@ | ||
62 | 62 | req.redirect(req.href.prefs('userprofile')) |
63 | 63 | |
64 | 64 | add_stylesheet(req, 'tracusermanager/css/prefs_um_profile.css') |
65 | + add_script(req, 'tracusermanager/js/prefs_userprofile.js') | |
65 | 66 | |
66 | 67 | return 'prefs_um_profile.html', data |
@@ -0,0 +1,4 @@ | ||
1 | +jQuery(document).ready(function($){ | |
2 | + $("#userprefs").attr("enctype","multipart/form-data"); | |
3 | + }); | |
4 | + |