Remove deprecated js code
authorColeman Watts <coleman@civicrm.org>
Tue, 17 Nov 2015 20:11:29 +0000 (15:11 -0500)
committerColeman Watts <coleman@civicrm.org>
Tue, 17 Nov 2015 20:11:29 +0000 (15:11 -0500)
js/Audit/audit.js [deleted file]
js/crm.ajax.js

diff --git a/js/Audit/audit.js b/js/Audit/audit.js
deleted file mode 100644 (file)
index 4c878bc..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- +--------------------------------------------------------------------+
- | CiviCRM version 4.7                                                |
- +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
- +--------------------------------------------------------------------+
- | This file is a part of CiviCRM.                                    |
- |                                                                    |
- | CiviCRM is free software; you can copy, modify, and distribute it  |
- | under the terms of the GNU Affero General Public License           |
- | Version 3, 19 November 2007 and the CiviCRM Licensing Exception.   |
- |                                                                    |
- | CiviCRM is distributed in the hope that it will be useful, but     |
- | WITHOUT ANY WARRANTY; without even the implied warranty of         |
- | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               |
- | See the GNU Affero General Public License for more details.        |
- |                                                                    |
- | You should have received a copy of the GNU Affero General Public   |
- | License and the CiviCRM Licensing Exception along                  |
- | with this program; if not, contact CiviCRM LLC                     |
- | at info[AT]civicrm[DOT]org. If you have questions about the        |
- | GNU Affero General Public License or the licensing of CiviCRM,     |
- | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
- +--------------------------------------------------------------------+
-*/
-
-function selectActivity(i)
-{
-  // deselect current selection
-  j = document.forms.Report.currentSelection.value;
-  ele = document.getElementById("civicase-audit-activity-" + j);
-  ele.className = "activity";
-  ele = document.getElementById("civicase-audit-header-" + j);
-  ele.style.display = "none";
-  ele = document.getElementById("civicase-audit-body-" + j);
-  ele.style.display = "none";
-
-  if ( i != 1 ) {
-      cj('#civicase-audit-activity-1').removeClass('activity selected');
-      cj('#civicase-audit-activity-1').addClass('activity');
-      cj('#civicase-audit-header-1').css({"display":"none"});
-      cj('#civicase-audit-body-1').css({"display":"none"});
-        }
-
-  // select selected one
-  ele = document.getElementById("civicase-audit-activity-" + i);
-  ele.className = "activity selected";
-  ele = document.getElementById("civicase-audit-header-" + i);
-  ele.style.display = "block";
-  ele = document.getElementById("civicase-audit-body-" + i);
-  ele.style.display = "block";
-  document.forms.Report.currentSelection.value = i;
-}
index 58a09a6efb4de6be1ca391707290bef8e0ccd6eb..5412e670153d5bd8b112c003904fa86e00d2a5aa 100644 (file)
     return url;
   };
 
-  // @deprecated
-  $.extend ({'crmURL':
-    function (p, params) {
-      CRM.console('warn', 'Calling crmURL from jQuery is deprecated. Please use CRM.url() instead.');
-      return CRM.url(p, params);
-    }
-  });
-
   $.fn.crmURL = function () {
     return this.each(function() {
       if (this.href) {
     })($.extend({}, settings, options));
   };
 
-  /**
-   * Backwards compatible with jQuery fn
-   * @deprecated
-   */
-  $.fn.crmAPI = function(entity, action, params, options) {
-    CRM.console('warn', 'Calling crmAPI from jQuery is deprecated. Please use CRM.api3() instead.');
-    return CRM.api.call(this, entity, action, params, options);
-  };
-
   $.widget('civi.crmSnippet', {
     options: {
       url: null,