PageSourceSearch

https://wyomuni.org/wp-content/plugins/bbp-style-pack/js/bsp_quote.js?ver=6.4.9

js wyomuni.org collected 2026-10-03 21:17:10 UTC 2,251 bytes, 51 lines download raw bytes

1jQuery(document).ready(function($) {
2	 
3        $('.bsp-quote-link').click(function() {
4
5                var id = $(this).attr("href").substr(1);
6
7                var data = {
8                        'action' : 'get_status_by_ajax',
9                        'id' : id,
10                        'security': bsp_ajax_object.quote
11                }
12                $.post(bsp_ajax_object.ajax_url, data, function(response) {
13
14                        // if tinymce editor currently visible
15                        if( $('.mce-tinymce.mce-container.mce-panel').is(':visible') ) {
16                                tinymce.get("bbp_reply_content").execCommand("mceInsertContent", false, response); 
17                        }
18
19                        // if default text editor currently visible
20                        if( $('textarea#bbp_reply_content').is(':visible') ) {
21                                quote = response;
22                                replyTextfield = $("#bbp_reply_content");
23                                text = replyTextfield.val();
24                                if(jQuery.trim(text) != ''){
25                                        text += "\n\n";
26                                }
27                                text += quote;
28                                replyTextfield.val(text);
29                        }
30						
31						// if we are in buddyboss
32						var buddyboss = document.getElementById("bbp_editor_reply_content_forums_editor_3");
33						if(buddyboss) {
34                                quote = response;
35                                replyTextfield = $("#bbp_editor_reply_content_forums_editor_3");
36                                text = replyTextfield.val();
37                                if(jQuery.trim(text) != ''){
38                                        text += "\n\n";
39                                }
40                                text += quote;
41                                document.getElementById("bbp_editor_reply_content_forums_editor_3").innerHTML = text;
42                       }
43						
44						
45
46                        // scroll to new_post form
47                        location.hash = "#new-post" ;
48
49                });	        
50        });  
51 });

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.