blocks
4 years ago
admin.js
2 years ago
asset_manager_core_js.js
2 years ago
iframeResizer.contentWindow.min.js
2 years ago
iframeResizer.min.js
2 years ago
marketplace_setup_wizard.js
2 years ago
optout.js
6 years ago
scheduled_task_errors.js
2 years ago
admin.js
23 lines
| 1 | /** |
| 2 | * Matomo - free/libre analytics platform |
| 3 | * |
| 4 | * @link https://matomo.org |
| 5 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 6 | * @package matomo |
| 7 | */ |
| 8 | |
| 9 | jQuery(document).on( 'click', '#matomo-referral .notice-dismiss', function () { |
| 10 | var data = {'action': 'matomo_referral_dismiss_admin_notice'}; |
| 11 | jQuery.post( ajaxurl, data ); |
| 12 | }); |
| 13 | |
| 14 | jQuery(document).on( 'click', '#matomo-referral .matomo-dismiss-forever', function () { |
| 15 | var data = {'action': 'matomo_referral_dismiss_admin_notice', forever: '1'}; |
| 16 | jQuery.post( ajaxurl, data ); |
| 17 | }); |
| 18 | |
| 19 | jQuery(document).on( 'click', '#matomo-systemreporterrors .notice-dismiss', function () { |
| 20 | var data = {'action': 'matomo_system_report_error_dismissed'}; |
| 21 | jQuery.post( ajaxurl, data ); |
| 22 | }); |
| 23 |