Merge branch 'master' into 4138-node-manager-google-cloud
[arvados.git] / apps / workbench / app / assets / javascripts / selection.js.erb
index d1e3452cc563725512fa35c2ae1f3239711a65bd..0068b738ec903067c3352e9ae92d5a6ed82c2b19 100644 (file)
@@ -2,36 +2,14 @@
 //= require jquery_ujs
 
 /** Javascript for selection. */
-form_selection_sources = {};
 
 jQuery(function($){
     $(document).
         on('change', '.persistent-selection:checkbox', function(e) {
             $(document).trigger('selections-updated');
         });
-
-    $('#selection-form-content').on("click", function(e) {
-        e.stopPropagation();
-    });
 });
 
-add_form_selection_sources = null;
-
-(function() {
-    var form_selection_sources = {};
-    add_form_selection_sources = function (src) {
-        for (var i = 0; i < src.length; i++) {
-            var t = form_selection_sources[src[i].type];
-            if (!t) {
-                t = form_selection_sources[src[i].type] = {};
-            }
-            if (!t[src[i].uuid]) {
-                t[src[i].uuid] = src[i];
-            }
-        }
-    };
-})();
-
 function dispatch_selection_action() {
     // Build a new "href" attribute for this link by starting with the
     // "data-href" attribute and appending ?foo[]=bar&foo[]=baz (or