diff --git a/app/assets/javascripts/supplier/app/templates/active_list.emblem b/app/assets/javascripts/supplier/app/templates/active_list.emblem index 6941b1c1..95d1283f 100644 --- a/app/assets/javascripts/supplier/app/templates/active_list.emblem +++ b/app/assets/javascripts/supplier/app/templates/active_list.emblem @@ -17,7 +17,7 @@ td.actions i.fa.fa-bell.fa-stack-small i.fa.fa-ban.revoke App.MarkListHelpedButtonView content=view.content - App.RemoveListNeedsPaymentView content=view.content + /App.RemoveListNeedsPaymentView content=view.content App.CloseListButtonView content=view.content button.show-list.button{action "showList" view.content.id}: span diff --git a/app/assets/javascripts/user/app/routes/application_route.js.coffee.erb b/app/assets/javascripts/user/app/routes/application_route.js.coffee.erb index 8f4b838b..28a38bc3 100644 --- a/app/assets/javascripts/user/app/routes/application_route.js.coffee.erb +++ b/app/assets/javascripts/user/app/routes/application_route.js.coffee.erb @@ -33,11 +33,13 @@ App.ApplicationRoute = Ember.Route.extend ok: options.ok listNeedsPayment: -> @get('controller').secured -> + @set 'list.needs_payment', true Ember.$.post "#{$data_host}/user/list_needs_payment.json" #Ember.$.post("#{$data_host}/user/list_needs_payment.json").then (res) => #@set('list.needs_payment', true) # also done by faye listNeedsHelp: -> @get('controller').secured -> + @set 'list.needs_help', true Ember.$.post "#{$data_host}/user/needs_help.json" #Ember.$.post("#{$data_host}/user/needs_help.json").then (res) => #@set('list.needs_help', true) # also done by faye