[ARVADOS] created: 4ccec6c3e6e96edc4917f15769a30e187484ee52

git at public.curoverse.com git at public.curoverse.com
Fri Apr 17 17:04:58 EDT 2015


        at  4ccec6c3e6e96edc4917f15769a30e187484ee52 (commit)


commit 4ccec6c3e6e96edc4917f15769a30e187484ee52
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Fri Apr 17 16:57:55 2015 -0400

    5620: add ready handler for input

diff --git a/apps/workbench/app/assets/javascripts/application.js b/apps/workbench/app/assets/javascripts/application.js
index 172ff87..3183fb7 100644
--- a/apps/workbench/app/assets/javascripts/application.js
+++ b/apps/workbench/app/assets/javascripts/application.js
@@ -145,6 +145,9 @@ jQuery(function($){
         on('ready ajax:complete', function() {
             // This makes the dialog close on Esc key, obviously.
             $('.modal').attr('tabindex', '-1')
+        }).
+        on('ready', function() {
+            $('input').trigger('input');
         });
 
     HeaderRowFixer = function(selector) {
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index c42028f..1755e79 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -364,7 +364,7 @@ module ApplicationHelper
            success: 'page-refresh'
          }.to_json,
         })
-      is_readable_input = object_readable attrvalue unless attrvalue.andand.empty?
+      is_readable_input = object_readable attrvalue, Collection unless attrvalue.andand.empty?
       return content_tag('div', :class => 'input-group') do
         html = text_field_tag(dn, display_value,
                               :class =>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list