From 73b2353842b711d9fdcac975140e9cef42517309 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 2 Nov 2014 20:42:19 +0100 Subject: [PATCH] Added notify after send. --- app/assets/javascripts/app/controllers/maintenance.js.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/app/controllers/maintenance.js.coffee b/app/assets/javascripts/app/controllers/maintenance.js.coffee index 3faa20976..4dcedcfd8 100644 --- a/app/assets/javascripts/app/controllers/maintenance.js.coffee +++ b/app/assets/javascripts/app/controllers/maintenance.js.coffee @@ -21,6 +21,10 @@ class Index extends App.ControllerContent spool: false data: params ) + @notify + type: 'success' + msg: App.i18n.translateContent('Sent successfully!') + removeAll: true @render() App.Config.set( 'Maintenance', { prio: 3600, name: 'Maintenance', parent: '#system', target: '#system/maintenance', controller: Index, role: ['Admin'] }, 'NavBarAdmin' ) \ No newline at end of file