[ARVADOS] updated: 1.1.2-16-g5dc1784

Git user git at public.curoverse.com
Fri Dec 22 11:42:23 EST 2017


Summary of changes:
 apps/workbench/app/assets/javascripts/components/edit_tags.js | 2 +-
 apps/workbench/app/assets/javascripts/models/session_db.js    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

       via  5dc1784a06a53777891df5fdea5f1c29da92939b (commit)
      from  8abda7cdf322d6b023b15894509ccfd057819c4f (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 5dc1784a06a53777891df5fdea5f1c29da92939b
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Fri Dec 22 13:41:58 2017 -0300

    12479: Syntax error fixed.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/apps/workbench/app/assets/javascripts/components/edit_tags.js b/apps/workbench/app/assets/javascripts/components/edit_tags.js
index 3f50a3a..1983c3b 100644
--- a/apps/workbench/app/assets/javascripts/components/edit_tags.js
+++ b/apps/workbench/app/assets/javascripts/components/edit_tags.js
@@ -61,7 +61,7 @@ window.TagEditorRow = {
                         align: 'center'
                     },
                     onclick: function(e) { vnode.attrs.removeTag() }
-                }, m('i.fa.fa-fw.fa-trash-o'))),
+                }, m('i.fa.fa-fw.fa-trash-o')))
             ),
             // Tag name
             m("td",
diff --git a/apps/workbench/app/assets/javascripts/models/session_db.js b/apps/workbench/app/assets/javascripts/models/session_db.js
index 54a61c2..a43cd79 100644
--- a/apps/workbench/app/assets/javascripts/models/session_db.js
+++ b/apps/workbench/app/assets/javascripts/models/session_db.js
@@ -145,10 +145,11 @@ window.SessionDB = function() {
             // Guess workbench.{apihostport} is a Workbench... unless
             // the host part of apihostport is an IPv4 or [IPv6]
             // address.
-            if (!session.baseURL.match('://(\\[|\\d+\\.\\d+\\.\\d+\\.\\d+[:/])'))
+            if (!session.baseURL.match('://(\\[|\\d+\\.\\d+\\.\\d+\\.\\d+[:/])')) {
                 var wbUrl = session.baseURL.replace('://', '://workbench.')
                 // Remove the trailing slash, if it's there.
                 return wbUrl.slice(-1) == '/' ? wbUrl.slice(0, -1) : wbUrl
+            }
             return null
         },
         // Return a m.stream that will get fulfilled with the

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list