[ARVADOS] updated: db8213fdb447e701467787f631beba495d0c7fbb

git at public.curoverse.com git at public.curoverse.com
Sat Dec 13 19:46:36 EST 2014


Summary of changes:
 apps/workbench/app/helpers/application_helper.rb | 3 +++
 1 file changed, 3 insertions(+)

       via  db8213fdb447e701467787f631beba495d0c7fbb (commit)
      from  48c12769b32edce2b2d7592c58dcc7ed9ea63369 (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 db8213fdb447e701467787f631beba495d0c7fbb
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Sat Dec 13 19:45:08 2014 -0500

    4523: updated render_editable_attribute to use textarea for descriptions.

diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index f1502af..5e6d574 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -188,6 +188,9 @@ module ApplicationHelper
     @unique_id ||= (Time.now.to_f*1000000).to_i
     span_id = object.uuid.to_s + '-' + attr.to_s + '-' + (@unique_id += 1).to_s
 
+    if attr == 'description'
+      input_type = 'textarea'
+    end
     span_tag = content_tag 'span', rendervalue, {
       "data-emptytext" => '(none)',
       "data-placement" => "bottom",

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list