closes #9498
[arvados.git] / apps / workbench / app / assets / javascripts / pipeline_instances.js
index 9824400828dcaeb29c621f632d32913bf78b25e1..1617a929928689def96afdba4f3c5f8e3aa48767 100644 (file)
@@ -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("editable-empty") || $tag.hasClass("unreadable-input")) {
+        if ($tag.hasClass("editable-empty")) {
             $tag.parent().css("background-color", "#ffdddd");
             $tag.parent().prev().css("background-color", "#ffdddd");
         }
@@ -108,7 +108,7 @@ $(document).on('arv-log-event', '.arv-log-event-handler-append-logs', function(e
     }
     var wasatbottom = ($(this).scrollTop() + $(this).height() >= this.scrollHeight);
 
-    if (eventData.event_type == "stderr" || eventData.event_type == "stdout") {
+    if (eventData.properties != null && eventData.properties.text != null) {
         if( eventData.prepend ) {
             $(this).prepend(eventData.properties.text);
         } else {