Change this.model.id to this.model.get('id')
parent
2d6deeb6f3
commit
55a906ae40
|
@ -173,7 +173,7 @@ var WhiteListView = Backbone.View.extend({
|
||||||
|
|
||||||
editWhitelist:function(e) {
|
editWhitelist:function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
app.navigate('admin/whitelist/' + this.model.id, {trigger: true});
|
app.navigate('admin/whitelist/' + this.model.get('id'), {trigger: true});
|
||||||
},
|
},
|
||||||
|
|
||||||
deleteWhitelist:function(e) {
|
deleteWhitelist:function(e) {
|
||||||
|
|
Loading…
Reference in New Issue