summaryrefslogtreecommitdiff
path: root/www/js/jingles.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/jingles.js')
-rw-r--r--www/js/jingles.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/www/js/jingles.js b/www/js/jingles.js
index ca52269..1aa2489 100644
--- a/www/js/jingles.js
+++ b/www/js/jingles.js
@@ -51,13 +51,9 @@ JingleGroupList.prototype.fetch = function() {
$('#app-jingles .groups').html('');
var self = this;
- rivendell.listDropboxes(function(groupsXml, status, req) {
+ rivendell.listDropboxes('jingle', function(groupsXml, status, req) {
var dbs = $(groupsXml).find("dropboxList").children();
dbs.each(function(index, groupXml) {
- if ($('type', groupXml).text() !== 'jingle') {
- return true; // continue
- }
-
var jingleGroup = new JingleGroup(
$('jingle-title', groupXml).text(),
$('group', groupXml).text(),