[ARVADOS] updated: 0b1d679afec2976ee170692f4178fdc28eb25a04

git at public.curoverse.com git at public.curoverse.com
Wed Apr 15 15:06:03 EDT 2015


Summary of changes:
 apps/workbench/app/assets/javascripts/pipeline_instances.js     | 4 ++--
 apps/workbench/app/controllers/pipeline_instances_controller.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

       via  0b1d679afec2976ee170692f4178fdc28eb25a04 (commit)
      from  bb1380996abe05337ba86061f5edd921dd3b9193 (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 0b1d679afec2976ee170692f4178fdc28eb25a04
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Wed Apr 15 14:49:11 2015 -0400

    5417: fix typo

diff --git a/apps/workbench/app/assets/javascripts/pipeline_instances.js b/apps/workbench/app/assets/javascripts/pipeline_instances.js
index 42c71e0..9824400 100644
--- a/apps/workbench/app/assets/javascripts/pipeline_instances.js
+++ b/apps/workbench/app/assets/javascripts/pipeline_instances.js
@@ -35,7 +35,7 @@ $(document).on('editable:success', function(event, tag, response, newValue) {
 $(document).on('ready ajax:complete', function() {
     $('a.editable.required').each(function() {
         var $tag = $(this);
-        if ($tag.hasClass("unreadable-input")) {
+        if ($tag.hasClass("editable-empty") || $tag.hasClass("unreadable-input")) {
             $tag.parent().css("background-color", "#ffdddd");
             $tag.parent().prev().css("background-color", "#ffdddd");
         }
@@ -46,7 +46,7 @@ $(document).on('ready ajax:complete', function() {
     });
     $('input.required').each(function() {
         var $tag = $(this);
-        if ($tag.hasClass("editable-empty") || $tag.hasClass("unreadable-input")) {
+        if ($tag.hasClass("unreadable-input")) {
             $tag.parent().parent().css("background-color", "#ffdddd");
             $tag.parent().parent().prev().css("background-color", "#ffdddd");
         }
diff --git a/apps/workbench/app/controllers/pipeline_instances_controller.rb b/apps/workbench/app/controllers/pipeline_instances_controller.rb
index e84d990..4a7348a 100644
--- a/apps/workbench/app/controllers/pipeline_instances_controller.rb
+++ b/apps/workbench/app/controllers/pipeline_instances_controller.rb
@@ -287,7 +287,7 @@ class PipelineInstancesController < ApplicationController
   helper_method :unreadable_inputs_present?
   def unreadable_inputs_present?
     unless @unreadable_inputs_present.nil?
-      @unreadable_inputs_present
+      return @unreadable_inputs_present
     end
 
     input_uuids = []

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list