summaryrefslogtreecommitdiff
path: root/www/js/jingles.js
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2016-01-28 21:10:28 (GMT)
committerPeterTheOne <petertheone@gmail.com>2016-01-28 21:10:28 (GMT)
commit1ef5a5a1aac0e562c0b3b81c0cb7eb5997b02bd5 (patch)
tree10a36353a309bb356b4567f99c2bf6c625e68159 /www/js/jingles.js
parenta3d085734454a66955bcc2c642b0a4f7bf5d2b92 (diff)
musicpools: use Rivendell.Cart and Cut classes, make them xml ready
Diffstat (limited to 'www/js/jingles.js')
-rw-r--r--www/js/jingles.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/jingles.js b/www/js/jingles.js
index 5c3c39a..65063bf 100644
--- a/www/js/jingles.js
+++ b/www/js/jingles.js
@@ -52,7 +52,7 @@ function jingles_cleanup() {
var JingleGroup = function(groupName, description, lowcart, highcart, normlevel, trimlevel, title) {
if (arguments.length = 1) {
Rivendell.Group.call(this, groupName);
- this.title = $('jingle-title', this.groupXml).text();
+ this.title = $('jingle-title', this.xml).text();
} else {
Rivendell.Group.call(this, groupName, description, lowcart, highcart, normlevel, trimlevel);
this.title = title;
@@ -179,7 +179,9 @@ var JingleCut = function(cart, cartNumber, name, description, active) {
this.number = name.substr(-3);
this.name = name;
this.description = description;
+
this.active = active;
+
this.$el = null;
};