| @@ -319,28 +319,7 @@ | ||
| 319 | 319 | $(this).closest('.trigger-fields-wrap').find('option').prop('selected', false); |
| 320 | 320 | $(this).closest('.trigger-fields-wrap').find('select').trigger('change'); |
| 321 | 321 | }); |
| 322 | 322 | |
| 323 | - /***************** | |
| 324 | - * Tools page | |
| 325 | - ****************/ | |
| 326 | - $(document).on('change', '#notifier_activity_date', function(){ | |
| 327 | - $('.activity-log-preview-wrap').html(''); | |
| 328 | - var currenEle = $(this); | |
| 329 | - if(currenEle.val() === ''){ | |
| 330 | - return false; | |
| 331 | - } | |
| 332 | - currenEle.addClass('disabled-field'); | |
| 333 | - data = { | |
| 334 | - 'action': 'fetch_activity_logs_by_date', | |
| 335 | - 'notifier_activity_date': currenEle.val(), | |
| 336 | - } | |
| 337 | - | |
| 338 | - notifierAjax(data, function(response){ | |
| 339 | - currenEle.removeClass('disabled-field'); | |
| 340 | - $('.activity-log-preview-wrap').html(response.preview); | |
| 341 | - }); | |
| 342 | - }); | |
| 343 | - | |
| 344 | 323 | }); |
| 345 | 324 | |
| 346 | 325 | })(jQuery); |