From 63b29301d81a4a5394ecadd3bbefa0934c846264 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 24 Jan 2018 09:33:43 +0800 Subject: [PATCH] FIX: badge group edit modal controller is missing modal functionality --- .../controllers/modals/admin-edit-badge-groupings.js.es6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/controllers/modals/admin-edit-badge-groupings.js.es6 b/app/assets/javascripts/admin/controllers/modals/admin-edit-badge-groupings.js.es6 index fe0416bc307..4c53ba68d87 100644 --- a/app/assets/javascripts/admin/controllers/modals/admin-edit-badge-groupings.js.es6 +++ b/app/assets/javascripts/admin/controllers/modals/admin-edit-badge-groupings.js.es6 @@ -1,5 +1,7 @@ import { ajax } from 'discourse/lib/ajax'; -export default Ember.Controller.extend({ +import ModalFunctionality from 'discourse/mixins/modal-functionality'; + +export default Ember.Controller.extend(ModalFunctionality, { modelChanged: function(){ const model = this.get('model');