From 87369ae16b6eed3e1504028e8f795df93a667406 Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 16 May 2018 15:08:50 +0200 Subject: [PATCH] fixes ajax error in repositories [fixes SCI-2399] --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0625b8a70..10835b8bc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -21,6 +21,7 @@ module ApplicationHelper end def display_tooltip(message, len = Constants::NAME_TRUNCATION_LENGTH) + return '' unless message if message.strip.length > len sanitize_input("