more whitespace -remove trailing spaces
[civicrm-core.git] / templates / CRM / Badge / Form / Layout.js
index 3398ba757d5e97ac39ea8c4900517800e0432b3c..d17751f7b87e1929774fb38441c8278a3c661df3 100644 (file)
@@ -1,11 +1,11 @@
 // http://civicrm.org/licensing
-cj(function ($) {
+CRM.$(function($) {
   function openKCFinder(field) {
     var field = $(this);
     window.KCFinder = {
       callBack: function(url) {
         field.val(url).change();
-        // calculate the image default width, height 
+        // calculate the image default width, height
         // and assign to respective fields
          var ajaxUrl = CRM.url('civicrm/ajax/rest', 'className=CRM_Badge_Page_AJAX&fnName=getImageProp&json=1&img=' + url);
          $.getJSON(ajaxUrl).done(function ( response ) {