Revision 8c4b2f70
Suppression d'un "/" en trop pour get_groups qui provoque une erreur dans VigiBoard avec Paster.
Ajout des svn:ignore qui vont bien pour les fichiers de traduction JS.
Ajout du charset dans le feed Atom.
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6843 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/controllers/feeds.py | ||
---|---|---|
21 | 21 |
def atom(self, token, username): |
22 | 22 |
""" |
23 | 23 |
""" |
24 |
response.headers['Content-Type'] = 'application/atom+xml' |
|
24 |
response.headers['Content-Type'] = 'application/atom+xml; charset=utf-8'
|
|
25 | 25 |
return { |
26 | 26 |
'feed': { |
27 | 27 |
'title': 'VigiBoard', |
vigiboard/public/js/tree.js | ||
---|---|---|
27 | 27 |
|
28 | 28 |
this.tree = new GroupTree({ |
29 | 29 |
parent: this.container, |
30 |
url: app_path + '/get_groups',
|
|
30 |
url: app_path + 'get_groups', |
|
31 | 31 |
itemName: "item", |
32 | 32 |
groupsonly: true, |
33 | 33 |
onItemClick: this.itemSelected.bind(this), |
Also available in: Unified diff