芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/woocommerce/assets/client/admin/wp-admin-scripts/add-term-tracking.js
!function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);var t=window.wc.tracks;const n=document.querySelector("#addtag #submit");function c(e){const n=e.target.parentElement.classList[0],c={edit:"edit",inline:"quick_edit",delete:"delete",view:"preview"};c[n]&&(0,t.recordEvent)("product_attributes_term_list_action_click",{selected_action:c[n]})}function o(){document.querySelectorAll(".row-actions span").forEach((e=>{e.removeEventListener("click",c),e.addEventListener("click",c)}))}o(),null==n||n.addEventListener("click",(function(){const e=document.querySelector("#tag-name"),n=document.querySelector("#tag-slug");(0,t.recordEvent)("product_attributes_add_term",{page:"tags",name:null==e?void 0:e.value,slug:null==n?void 0:n.value}),setTimeout((()=>{o()}),1e3)})),(window.wc=window.wc||{}).addTermTracking=e}();