[ARVADOS] updated: e01762a0adcdee209f305cfc2ae902ab4eb94899

git at public.curoverse.com git at public.curoverse.com
Wed Apr 29 08:45:27 EDT 2015


Summary of changes:
 apps/workbench/app/helpers/application_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  e01762a0adcdee209f305cfc2ae902ab4eb94899 (commit)
      from  48c6eca6aa6af517f67d39545b714946676cd2b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e01762a0adcdee209f305cfc2ae902ab4eb94899
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Wed Apr 29 08:44:49 2015 -0400

    5826: use present? instead of !empty?

diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 034ebb9..e826f88 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -372,7 +372,7 @@ module ApplicationHelper
       return content_tag('div', :class => 'input-group') do
         html = text_field_tag(dn, display_value,
                               :class =>
-                              "form-control #{'required' if required} #{'unreadable-input' if !attrvalue.andand.empty? and !object_readable(attrvalue, Collection)}")
+                              "form-control #{'required' if required} #{'unreadable-input' if attrvalue.present? and !object_readable(attrvalue, Collection)}")
         html + content_tag('span', :class => 'input-group-btn') do
           link_to('Choose',
                   modal_path,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list