Skip to content
Snippets Groups Projects
Commit b967a2db authored by colemanw's avatar colemanw
Browse files

CRM-13932 - update deprecated jQuery.live()

parent e4d290c4
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,7 @@ invert = 0
//show edit profile field links
cj(function() {
// show edit for main profile
cj('select[id^="custom_p"]').live( 'change', function( event ) {
cj(document).on('change', 'select[id^="custom_p"]', function( event ) {
buildLinks( cj(this), cj(this).val());
});
......@@ -437,7 +437,7 @@ invert = 0
});
//show edit profile field links in additional participant
cj('select[id^="additional_custom_p"]').live( 'change', function( event ) {
cj(document).on('change', 'select[id^="additional_custom_p"]', function( event ) {
buildLinks( cj(this), cj(this).val());
});
......
......@@ -84,7 +84,7 @@
{literal}
<script type="text/javascript">
cj(document).ready(function(){
cj('.distribute').live('blur', function() {
cj(document).on('blur', '.distribute', function() {
var totalAmount = 0;
cj('.distribute').each(function (){
if(cj(this).val( ).length > 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment