Permalink
Browse files

Merge pull request #237 from clearcode/fixImageTracking

fixed JS event for altering image tracking code with spearate plugin
Thanks for the proposed fix! 👍
  • Loading branch information...
mattab committed Mar 10, 2014
2 parents e1ed6cf + 8741bb5 commit 03583a98a563830f856c30a6206d265bb94b73e8
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/CoreAdminHome/javascripts/jsTrackingGenerator.js
@@ -323,7 +323,7 @@
// allow plugins to modify tracking link code
var eventData = {code: result};
- $(TrackingCodeGeneratorSingleton).trigger('customizeTrackerLink', result);
+ $(TrackingCodeGeneratorSingleton).trigger('customizeTrackerLink', eventData);
result = eventData.code;
result = result.replace(/[&]/g, "&");
@@ -412,4 +412,4 @@
);
});
-}(jQuery, require));
+}(jQuery, require));

0 comments on commit 03583a9

Please sign in to comment.