mirror of https://github.com/lidarr/Lidarr
Fix Double Quote and AlbumID variable for Search (#20)
Fix Double Quote and AlbumID variable for Search
This commit is contained in:
parent
289279af8e
commit
a0847950c2
|
@ -154,7 +154,7 @@ module.exports = Marionette.Layout.extend({
|
||||||
command : {
|
command : {
|
||||||
name : 'albumSearch',
|
name : 'albumSearch',
|
||||||
artistId : this.artist.id,
|
artistId : this.artist.id,
|
||||||
albumId : this.model.get('albumId')
|
albumId : this.model.get('id')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ module.exports = Marionette.Layout.extend({
|
||||||
command : {
|
command : {
|
||||||
name : 'renameFiles',
|
name : 'renameFiles',
|
||||||
artistId : this.artist.id,
|
artistId : this.artist.id,
|
||||||
albumId : this.model.get('albumId')
|
albumId : this.model.get('id')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -182,14 +182,14 @@ module.exports = Marionette.Layout.extend({
|
||||||
CommandController.Execute('albumSearch', {
|
CommandController.Execute('albumSearch', {
|
||||||
name : 'albumSearch',
|
name : 'albumSearch',
|
||||||
artistId : this.artist.id,
|
artistId : this.artist.id,
|
||||||
albumId : this.model.get('albumId')
|
albumId : this.model.get('id')
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
_albumRename : function() {
|
_albumRename : function() {
|
||||||
vent.trigger(vent.Commands.ShowRenamePreview, {
|
vent.trigger(vent.Commands.ShowRenamePreview, {
|
||||||
artist : this.artist,
|
artist : this.artist,
|
||||||
albumId : this.model.get('albumId')
|
albumId : this.model.get('id')
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ module.exports = ToggleCell.extend({
|
||||||
this.$('i').addClass(this.column.get('falseClass'));
|
this.$('i').addClass(this.column.get('falseClass'));
|
||||||
}
|
}
|
||||||
|
|
||||||
var link = "/artist/" + this.model.get('nameSlug');
|
var link = '/artist/' + this.model.get('nameSlug');
|
||||||
var artistName = this.model.get('name');
|
var artistName = this.model.get('name');
|
||||||
|
|
||||||
this.$('a').attr('href', link );
|
this.$('a').attr('href', link );
|
||||||
|
|
Loading…
Reference in New Issue