diff options
Diffstat (limited to 'www/js/shows.js')
-rw-r--r-- | www/js/shows.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/shows.js b/www/js/shows.js index 30dbd8e..82e38b5 100644 --- a/www/js/shows.js +++ b/www/js/shows.js @@ -83,7 +83,7 @@ Rdxport.ShowListView.prototype.getCurrentShowView = function() { var self = this; var showViewFound = null; $(this.showViews).each(function(index, showView) { - if (showView.model.id === self.currentShowId) { + if (showView.model.id === parseInt(self.currentShowId)) { showViewFound = showView; return true; } @@ -147,7 +147,7 @@ Rdxport.Show = function(groupName, description, lowcart, highcart, normlevel, tr id, title, log, rhythm, dayofweek, starttime, length) { if (arguments.length = 1) { Rdxport.Group.call(this, groupName); - this.id = $('show-id', this.xml).text(); + this.id = parseInt($('show-id', this.xml).text()); this.title = $('show-title', this.xml).text(); this.log = $('show-log', this.xml).text(); this.rhythm = $('show-rhythm', this.xml).text(); |