[ARVADOS] updated: 69a23af535264a1385d51cbe73928c79bdce1de8

Git user git at public.curoverse.com
Tue Apr 11 14:52:21 EDT 2017


Summary of changes:
 apps/workbench/app/assets/javascripts/edit_collection.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  69a23af535264a1385d51cbe73928c79bdce1de8 (commit)
      from  eee5ba33c484bc2ac212f42cdb758a963dcba31f (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 69a23af535264a1385d51cbe73928c79bdce1de8
Author: radhika <radhika at curoverse.com>
Date:   Tue Apr 11 14:51:58 2017 -0400

    11365: tweak js for lock button

diff --git a/apps/workbench/app/assets/javascripts/edit_collection.js b/apps/workbench/app/assets/javascripts/edit_collection.js
index bc87410..6d85684 100644
--- a/apps/workbench/app/assets/javascripts/edit_collection.js
+++ b/apps/workbench/app/assets/javascripts/edit_collection.js
@@ -9,7 +9,7 @@ $(document).
     on('click', '.lock-collection-btn', function(event) {
         classes = $(event.target).attr('class')
 
-        if(classes.includes("fa-lock")){
+        if (classes.indexOf("fa-lock") != -1) {
             // About to unlock; warn the user
             if (confirm("Adding, renaming, and deleting files changes the portalble data hash. Are you sure you want to unlock the collection?")) {
                 $(".lock-collection-btn").removeClass("fa-lock");

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list