From d996c1cadf2a74aea51763c8b00e8825807161a0 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 25 Sep 2015 11:08:34 +0200 Subject: [PATCH] Fixed creating new calendars. --- .../app/controllers/_ui_element/business_hours.js.coffee | 5 ++--- .../javascripts/app/views/calendar/holiday_selector.jst.eco | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_ui_element/business_hours.js.coffee b/app/assets/javascripts/app/controllers/_ui_element/business_hours.js.coffee index d534f4477..c83d9a9b0 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/business_hours.js.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/business_hours.js.coffee @@ -19,7 +19,7 @@ class App.UiElement.business_hours tue: active: true timeframes: [ - ['00:00','22:00'] + ['09:00','17:00'] ] wed: active: true @@ -29,8 +29,7 @@ class App.UiElement.business_hours thu: active: true timeframes: [ - ['09:00','12:00'], - ['13:00','17:00'] + ['09:00','17:00'] ] fri: active: true diff --git a/app/assets/javascripts/app/views/calendar/holiday_selector.jst.eco b/app/assets/javascripts/app/views/calendar/holiday_selector.jst.eco index 572bae413..424c505ad 100644 --- a/app/assets/javascripts/app/views/calendar/holiday_selector.jst.eco +++ b/app/assets/javascripts/app/views/calendar/holiday_selector.jst.eco @@ -35,7 +35,7 @@ <%- @Icon('checkbox-checked', 'icon-checked') %> - +