From 6c54e1269de509c620d0fe2c7fd1701b213a3ebd Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 1 Oct 2014 13:57:17 +0200 Subject: [PATCH] seperate tabsSidebarSpace into two spacers for tabs and sidebar. this way we can use the generic variable sidebar spacing on the scrollPageHeader --- .../app/controllers/_application_controller_generic.js.coffee | 4 ++-- app/assets/javascripts/app/views/agent_ticket_create.jst.eco | 2 +- .../app/views/layout_ref/content_sidebar_tabs_right.jst.eco | 2 +- app/assets/javascripts/app/views/organization_zoom.jst.eco | 2 +- app/assets/javascripts/app/views/ticket_zoom.jst.eco | 2 +- app/assets/javascripts/app/views/user_zoom.jst.eco | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee index 4ddb37ae5..ba277a9d0 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee @@ -511,11 +511,11 @@ class App.Sidebar extends App.Controller ) toggleSidebar: -> - @el.parent().find('.tabsSidebarSpace').toggleClass('is-closed') + @el.parent().find('.tabsSidebar-sidebarSpacer').toggleClass('is-closed') @el.parent().find('.tabsSidebar').toggleClass('is-closed') showSidebar: -> - @el.parent().find('.tabsSidebarSpace').removeClass('is-closed') + @el.parent().find('.tabsSidebar-sidebarSpacer').removeClass('is-closed') @el.parent().find('.tabsSidebar').removeClass('is-closed') toggleTab: (e) -> diff --git a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco index 067f3d155..9bcb00609 100644 --- a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco @@ -1,5 +1,5 @@
-
+