From a0caaa06e9a23691ce16d4380bcf61cb357e8528 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 13 Dec 2016 14:58:13 +0100 Subject: [PATCH] Cleanup, fixed typos and improved error handling. --- app/assets/javascripts/app/controllers/monitoring.coffee | 2 -- app/assets/javascripts/app/views/agent_user_create.jst.eco | 2 +- app/assets/javascripts/app/views/calendar/index.jst.eco | 6 +++--- .../javascripts/app/views/customer_ticket_create.jst.eco | 2 +- app/assets/javascripts/app/views/modal.jst.eco | 2 +- app/models/calendar.rb | 2 +- app/models/organization/search.rb | 4 +++- app/models/permission.rb | 2 +- app/models/ticket/search.rb | 4 +++- app/models/user/search.rb | 4 +++- lib/app_version.rb | 2 +- test/unit/email_process_test.rb | 2 ++ 12 files changed, 20 insertions(+), 14 deletions(-) diff --git a/app/assets/javascripts/app/controllers/monitoring.coffee b/app/assets/javascripts/app/controllers/monitoring.coffee index 5850e8102..c43b29142 100644 --- a/app/assets/javascripts/app/controllers/monitoring.coffee +++ b/app/assets/javascripts/app/controllers/monitoring.coffee @@ -23,9 +23,7 @@ class Index extends App.ControllerSubContent url: "#{@apiPath}/monitoring/health_check" success: (data) => @stopLoading() - console.log('111', data, @data) return if @data && data.token is @data.token && data.healthy is @data.healthy && data.message is @data.message - console.log('222') @data = data @render() ) diff --git a/app/assets/javascripts/app/views/agent_user_create.jst.eco b/app/assets/javascripts/app/views/agent_user_create.jst.eco index 09d947c51..5ede093f9 100644 --- a/app/assets/javascripts/app/views/agent_user_create.jst.eco +++ b/app/assets/javascripts/app/views/agent_user_create.jst.eco @@ -1,4 +1,4 @@ -
+
- +
diff --git a/app/assets/javascripts/app/views/modal.jst.eco b/app/assets/javascripts/app/views/modal.jst.eco index db7be63ab..67d0145b3 100644 --- a/app/assets/javascripts/app/views/modal.jst.eco +++ b/app/assets/javascripts/app/views/modal.jst.eco @@ -1,5 +1,5 @@