Merge pull request #18242 from eileenmcnaughton/dep
[civicrm-core.git] / js / crm.searchForm.js
index 785ae15afe4e2721548bb1fb8567f057ce960614..42a371dcecf42d18e90d97dae3038d2992d098b7 100644 (file)
         params.name = $('input.select-row').map(function() {return $(this).attr('id');}).get().join('-');
       }
     }
-    $.getJSON(url, params, function(data) {
+    $.post(url, params, function(data) {
       if (data && data.getCount !== undefined) {
         selected = data.getCount;
         displayCount();
         enableTaskMenu();
       }
-    });
+    }, 'json');
   }
 
   /**