From 5a87087255b59ea7931fe69cd4034aa8160b0ee4 Mon Sep 17 00:00:00 2001 From: Edward Faulkner Date: Sun, 30 Nov 2014 17:29:40 -0500 Subject: [PATCH] Fix dismissing modals with remapped parameters Closes #128 --- app/components/liquid-modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/liquid-modal.js b/app/components/liquid-modal.js index 873c9f3e..b6e05698 100644 --- a/app/components/liquid-modal.js +++ b/app/components/liquid-modal.js @@ -70,7 +70,7 @@ export default Ember.Component.extend({ dismiss: function() { var source = this.get('currentContext.source'), proto = source.constructor.proto(), - params = this.get('currentContext.params'), + params = this.get('currentContext.options.withParams'), clearThem = {}; for (var key in params) {