File "form-bulk-rewrite.js"
Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/plugins/call-now-button/resources/js/form-bulk-rewrite.js
File size: 478 bytes
MIME-type: text/plain
Charset: utf-8
/**
* This is used to rewrite the "action" and "action2" of the bulk actions
* into names that do not conflict with admin{-post}.php
*/
function cnb_rewrite_form_bulk_actions() {
jQuery('form.cnb_list_event')
.find('#bulk-action-selector-top, #bulk-action-selector-bottom')
.each(function() {
const ele = jQuery(this)
ele.attr('name', 'bulk-' + ele.attr('name'))
})
}
jQuery(() => {
cnb_rewrite_form_bulk_actions()
})