From 890cf7839b6917ed7b2aa45b75715e7c5f8b886a Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 3 Jun 2015 14:03:06 +0200 Subject: [PATCH 1/2] fix userprofile long ticketname --- .../javascripts/app/views/layout_ref/user_profile.jst.eco | 2 +- app/assets/stylesheets/zammad.css.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco b/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco index d9bd85f26..20c4d1466 100644 --- a/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco +++ b/app/assets/javascripts/app/views/layout_ref/user_profile.jst.eco @@ -87,7 +87,7 @@
-
Print sheets strip off with a lot of text in the headline
+
Print sheets strip_off_with_a_lot_of_text_in_the_headline
1 hour ago
  • diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index ea8317237..05a3c2c46 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -4967,6 +4967,7 @@ label + .wizard-buttonList { } .name { + word-break: break-all; @extend .u-highlight; } } From 0b726a41d42e032278ae1b547cd39943a4e7e3ed Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 3 Jun 2015 14:03:15 +0200 Subject: [PATCH 2/2] add: unperform clue action --- app/assets/javascripts/app/controllers/layout_ref.js.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/layout_ref.js.coffee b/app/assets/javascripts/app/controllers/layout_ref.js.coffee index 6c2d587bc..5d2504469 100644 --- a/app/assets/javascripts/app/controllers/layout_ref.js.coffee +++ b/app/assets/javascripts/app/controllers/layout_ref.js.coffee @@ -991,7 +991,9 @@ class cluesRef extends App.ControllerContent container = $(clue.container) container.removeClass('selected-clue') - # maybe undo perform + # undo click perform by doing it again + if clue.action + @perform clue.action, container @el.find('.clue').remove()