|
From: | noreply |
Subject: | [myexperiment-hackers] [3486] trunk/app/helpers/application_helper.rb: Fixed issue to do with highlighting search results in 1.9.2 |
Date: | Mon, 25 Mar 2013 15:23:55 +0000 (UTC) |
Fixed issue to do with highlighting search results in 1.9.2
--- trunk/app/helpers/application_helper.rb 2013-03-25 13:52:42 UTC (rev 3485)
+++ trunk/app/helpers/application_helper.rb 2013-03-25 15:23:54 UTC (rev 3486)
@@ -802,13 +802,7 @@
end
def highlight_all(text, string)
- rtn = text
-
- string.each(separator=" ") { |substr|
- rtn = highlight(text, substr)
- }
-
- return rtn
+ highlight(text, string.split(' '))
end
def workflows_for_attribution_form
[Prev in Thread] | Current Thread | [Next in Thread] |