PageSourceSearch

https://www.bpminstitute.org/wp-content/plugins/folders-pro/assets/js/replace-file-name.js?ver=3.2.2

js bpminstitute.org collected 2026-09-24 17:42:08 UTC 2,126 bytes, 1 lines download raw bytes

1!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e,t){e(document).ready(function(){e("body").append("<div class='folders-undo-notification success' id='name-change-success'><div class='folders-undo-body' style='padding: 0'><a href='#' class='close-undo-box'><span></span></a><div class='folders-undo-header' style='padding: 0'></div></div></div>"),e(document).on("click",".folder-replace-checkbox",function(){e(this).is(":checked")?e(this).closest("td").find("button.update-name-with-title").addClass("show"):e(this).closest("td").find("button.update-name-with-title").removeClass("show")}),e(document).on("click",".close-undo-box",function(t){t.preventDefault(),e("#name-change-success").removeClass("active")}),e(document).on("click","button.update-name-with-title",function(){if(!e(this).hasClass("in-progress")&&e(this).closest("td").find("input[type='checkbox']").is(":checked")){e(this).addClass("in-progress"),e(this).prop("disabled",!0);var t=e(this).closest("td").find("label").data("post"),s=e(this).closest("td").find("label").data("nonce"),a="";e("#attachment-details-title").length?a=e("#attachment-details-title").val():e("*[data-setting='title'] input").length&&(a=e("*[data-setting='title'] input").val()),e.ajax({url:replace_media_options.ajax_url,data:{post_id:t,nonce:s,post_title:a,action:"premio_folder_replace_name_with_title"},type:"post",success:function(t){e("button.update-name-with-title").removeClass("in-progress"),e("button.update-name-with-title").prop("disabled",!1);var s=e.parseJSON(t);1==s.status&&(1==s.valid?(e("#name-change-success").removeClass("no").addClass("active").addClass("yes"),e("#name-change-success .folders-undo-header").text(s.message)):(e("#name-change-success").removeClass("yes").addClass("active").addClass("no"),e("#name-change-success .folders-undo-header").text(s.message)),setTimeout(function(){e("#name-change-success").removeClass("active")},5e3)),jQuery(".folder-replace-checkbox").prop("checked",!1).trigger("click")}})}})})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.