| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | buttonInContainer.attr('disabled',true); |
| 8 | 8 | buttonInContainer.attr('tempclick', buttonInContainer.attr("onclick") ); |
| 9 | 9 | buttonInContainer.removeAttr('onclick'); |
| 10 | 10 | |
| 11 | - jQuery.post( ajaxurl , { action:"wppb_handle_rf_epf_id_change", field:field }, function(response) { | |
| 11 | + jQuery.post( ajaxurl , { action:"wppb_handle_rf_epf_id_change", field:field, _ajax_nonce: ( typeof wppbEpfRf !== 'undefined' ? wppbEpfRf.nonce : '' ) }, function(response) { | |
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * since version 2.0.2 we have the id directly on the option in the select so this ajax function is a little |
| 15 | 15 | redundant but can't be sure of the impact on other features so we will just add this |