1(function( $ ) { 2 'use strict'; 3 4function parseDate(dateString, isMax) { 5 if (!dateString) { 6 return null; 7 } 8 9 if (typeof dateString === 'number') { 10 dateString = String(dateString); 11 } 12 13 dateString = String(dateString).trim(); 14 if (!dateString) { 15 return null; 16 } 17 18 var yearOnly = /^\d{4}$/.test(dateString); 19 if (!yearOnly) { 20 var yearMatch = dateString.match(/(\d{4})/); 21 if (yearMatch && yearMatch[1]) { 22 dateString = yearMatch[1]; 23 yearOnly = true; 24 } 25 } 26 27 if (yearOnly) { 28 var year = parseInt(dateString, 10); 29 if (isNaN(year)) { 30 return null; 31 } 32 return isMax ? new Date(year, 11, 31) : new Date(year, 0, 1); 33 } 34 35 try { 36 return $.datepicker.parseDate(pm_fields_object.dateformat, dateString); 37 } catch (e) { 38 try { 39 return $.datepicker.parseDate('yy-mm-dd', dateString); 40 } catch (err) { 41 return null; 42 } 43 } 44 } 45 46 47 $(".pm_calendar").each(function() { 48 var minDateValue = $(this).data('min_date'); 49 var maxDateValue = $(this).data('max_date'); 50 var currentYear = new Date().getFullYear(); 51 52 var minDate = minDateValue ? parseDate(minDateValue, false) : null; 53 var maxDate = maxDateValue ? parseDate(maxDateValue, true) : null; 54 var yearRange = "1900:" + ( currentYear + 20 ); 55 if (minDate instanceof Date || maxDate instanceof Date) { 56 var minYear = minDate instanceof Date ? minDate.getFullYear() : 1900; 57 var maxYear = maxDate instanceof Date ? maxDate.getFullYear() : ( currentYear + 20 ); 58 yearRange = minYear + ":" + maxYear; 59 } 60 61 $(this).datepicker({ 62 changeMonth: true, 63 changeYear: true, 64 dateFormat: pm_fields_object.dateformat, 65 yearRange: yearRange, 66 minDate: minDate, 67 maxDate: maxDate, 68 onSelect: function(dateText, inst) { 69 var selectedDate = parseDate(dateText, false); 70 if (!selectedDate) { 71 return; 72 } 73 74 if (minDate instanceof Date && selectedDate < minDate) { 75 $(this).datepicker("setDate", minDate); 76 } else if (maxDate instanceof Date && selectedDate > maxDate) { 77 $(this).datepicker("setDate", maxDate); 78 } 79 }, 80 onClose: function(dateText, inst) { 81 var enteredDate = parseDate(dateText, false); 82 83 if (!enteredDate || isNaN(enteredDate.getTime()) || (minDate instanceof Date && enteredDate < minDate) || (maxDate instanceof Date && enteredDate > maxDate)) { 84 // Invalid date, reset to the previous valid date 85 $(this).datepicker("setDate", $(this).datepicker("getDate") || minDate); 86 } 87 } 88 }); 89 }); 90 91 92// $( ".pm_calendar" ).datepicker({ 93// changeMonth: true, 94// changeYear: true, 95// dateFormat:'yy-mm-dd', 96// yearRange: "1900:2025" 97// }); 98 $( "#ui-datepicker-div" ).wrap( "<div class='pg-datepicker-wrap'></div>" ); 99 100 var icons = { 101 header: "ui-icon-circle-arrow-e", 102 activeHeader: "ui-icon-circle-arrow-s" 103 }; 104 105 if($("#pm-accordion").length) 106 { 107 $( "#pm-accordion" ).accordion({ 108 icons: icons, 109 }); 110 } 111 112 $('#advance_search_pane').hide(); 113 $("#pm-advance-search-form").on('keypress',function(e){ 114 if(e.which==13){ 115 $("#pm-advance-search-form").attr("event","keypress"); 116 return false; 117 } 118 }); 119 120 $('#reset_btn').on( 'click', function(){ 121 $("#pm-advance-search-form").attr("event","reset"); 122 $("#pm-advance-search-form").trigger( 'submit' ); 123 return false; 124 }); 125 126 $("#pm-advance-search-form").on( 'submit', function(e) 127 { 128 e.preventDefault(); 129 var event = $(this).attr('event'); 130 if(event === 'keypress') 131 { 132 pm_advance_user_search(''); 133 }else if(event === 'reset') 134 { 135 pm_advance_user_search('Reset'); 136 } 137 }); 138 139 140 141 //pagination dynamic ajax 142 $(document).on('click','#pm_result_pane ul li .page-numbers',function(event){ 143 event.preventDefault(); 144 // console.log($(this).text()); 145 var link = $(this).attr("href"); 146 if(link !== undefined) 147 { 148 var newpagenum =link.split('pagenum=')[1]; 149 pm_advance_user_search(newpagenum); 150 } 151 }); 152 153 $(document).on('click','.pm-admin-pagination ul li .page-numbers',function(event){ 154 event.preventDefault(); 155 // console.log(jQuery(this).text()); 156 var link = $(this).attr("href"); 157 if(link !== undefined) 158 { 159 var newpagenum =link.split('pagenum=')[1]; 160 pm_filter_admins(newpagenum); 161 } 162 }); 163 164 $('#advance_search_option').on( 'click', function(e) 165 { 166 e.preventDefault(); 167 $('#advance_search_pane').slideToggle('slow'); 168 $("#pm-advance-search-form").attr("event","advance_options"); 169 $('#advance_search_option .pg-search-filter-up').toggle(); 170 $('#advance_search_option .pg-search-filter-down').toggle(); 171 //alert("test"); 172 return false;
173 }); 174 175 $(window).on('load', function() { 176 177 var recaptcha = $(".g-recaptcha"); 178 179 if($(window).width() < 391 ) { 180 var newScaleFactor = recaptcha.parent().innerWidth() / 304; 181 recaptcha.css('transform', 'scale(' + newScaleFactor + ')'); 182 recaptcha.css('transform-origin', '0 0'); 183 } 184 else { 185 recaptcha.css('transform', 'scale(1)'); 186 recaptcha.css('transform-origin', '0 0'); 187 } 188 }); 189 190 $(window).on( 'resize', function() 191 { 192 var recaptcha = $(".g-recaptcha"); 193 if(recaptcha.css('margin') == '1px') { 194 var newScaleFactor = recaptcha.parent().innerWidth() / 304; 195 recaptcha.css('transform', 'scale(' + newScaleFactor + ')'); 196 recaptcha.css('transform-origin', '0 0'); 197 } 198 else { 199 recaptcha.css('transform', 'scale(1)'); 200 recaptcha.css('transform-origin', '0 0'); 201 } 202 }); 203 204 205 //GUI Engine 206 jQuery('.pm-widget-login-box').each(function (index, element) { 207 var loginBoxArea = $(this).innerWidth(); 208 if(loginBoxArea>350) 209 { 210 $(this).addClass('pm-widget-login-box-large'); 211 $(this).removeClass('pm-widget-login-box-small'); 212 $(this).removeClass('pm-widget-login-box-medium'); 213 } 214 else if(loginBoxArea<300) 215 { 216 $(this).addClass('pm-widget-login-box-small'); 217 $(this).removeClass('pm-widget-login-box-large'); 218 $(this).removeClass('pm-widget-login-box-medium'); 219 } 220 else 221 { 222 $(this).addClass('pm-widget-login-box-medium'); 223 $(this).removeClass('pm-widget-login-box-large'); 224 $(this).removeClass('pm-widget-login-box-small'); 225 } 226 }); 227 228 229 var profileArea = $('.pmagic').innerWidth(); 230 $('span#pm-cover-image-width').text(profileArea); 231 $('.pm-cover-image').children('img').css('width', profileArea); 232 if (profileArea < 550) { 233 $('.pm-user-card, .pm-group, .pm-section').addClass('pm100'); 234 } else if (profileArea < 900) { 235 $('.pm-user-card, .pm-group').addClass('pm50'); 236 } else if (profileArea >= 900) { 237 $('.pm-user-card, .pm-group').addClass('pm33'); 238 } 239 //Hover Image Change Menu 240 $('.pm-cover-image, .pm-profile-image').hover(function() { 241 $(this).children('.pg-profile-change-img').fadeIn(); 242 }, function() { 243 $(this).children('.pg-profile-change-img').fadeOut(); 244 }); 245 //Profile Page Popup 246 $('#pm-remove-image, #pm-change-image').on( 'click', function() { 247 callPmPopup("#pm-change-image"); 248 }); 249 $('#pm-remove-cover-image, #pm-change-cover-image, #pm-coverimage-mask').on( 'click', function() { 250 callPmPopup("#pm-change-cover-image"); 251 }); 252 $('#pm-change-password').on( 'click', function() { 253 callPmPopup("#pm-change-password"); 254 }); 255 $('#pm-show-profile-image img').on( 'click', function(){ 256 callPmPopup("#pm-show-profile-image"); 257 }); 258 $('#pm-show-cover-image img').on( 'click', function(){ 259 callPmPopup("#pm-show-cover-image"); 260 }); 261 $('.pm-popup-close , .pm-popup-mask , .pg-group-setting-close-btn').on( 'click', function (){ 262 263 $('.pm-popup-mask').hide(); 264 $('.pm-popup-mask').next().hide(); 265 }); 266 // Sets all user cards equal height 267 $('.pmagic').each(function(){ 268 var highestBox = 0; 269 $(this).find('.pm-user-card').each(function(){ 270 if($(this).height() > highestBox){ 271 highestBox = $(this).height(); 272 } 273 }); 274 $(this).find('.pm-user-card.pm50, .pm-user-card.pm33').height(highestBox); 275 }); 276 277 var showTotalChar = 250, showChar = pm_error_object.show_more, hideChar = pm_error_object.show_less; 278 $('.pm_collapsable_textarea').each(function() 279 { 280 var content = $(this).html(); 281 if (content.length > showTotalChar) 282 { 283 var con = content.substr(0, showTotalChar); 284 var hcon = content.substr(showTotalChar, content.length - showTotalChar); 285 var txt= con + '<span class="pm_morectnt"><span>' + hcon + '</span> <a href="" class="pm_showmoretxt">' + showChar + '</a></span>'; 286 $(this).html(txt); 287 } 288 }); 289 290 $(".pm_showmoretxt").on( 'click', function() 291 { 292 if ($(this).hasClass("pm_sample")) 293 { 294 $(this).removeClass("pm_sample"); 295 $(this).text(showChar); 296 } 297 else 298 { 299 $(this).addClass("pm_sample"); 300 $(this).text(hideChar); 301 } 302 $(this).parent().prev().toggle(); 303 $(this).prev().toggle(); 304 return false;
305 }); 306 307 $(".pmrow").has(".pm-col-spacer").addClass("pm-row-spacer"); 308 $(".pmrow").has(".pm-col-divider").addClass("pm-row-divider"); 309 310 var pmDomColor = $(".pmagic").find("a").css('color'); 311 $(".pm-section-nav-horizental .pm-profile-tab").append("<div class='pm-border-slide'></div>"); 312 $(".pm-section-nav-horizental .pm-border-slide").css('background', pmDomColor); 313 jQuery(".pmagic #unread_notification_count").css('background-color', pmDomColor); 314 jQuery(".pmagic .pm-group-view .pm-section-nav-vertical ul li a") 315 .css('--pm-theme-color', pmDomColor); 316 317 // Sets all user cards equal height 318 319 $('.pmagic').each(function() 320 { 321 var highestBox = 0; 322 $(this).find('.pm-user-card').each(function(){ 323 if($(this).height() > highestBox){ 324 highestBox = $(this).height(); 325 } 326 }) 327 $(this).find('.pm-user-card.pm50, .pm-user-card.pm33').height(highestBox); 328 }); 329 330 $(".pmagic").prepend("<a><a/>"); 331 var pmDomColor = $(".pmagic").find("a").css('color'); 332 $(".pm-color").css('color', pmDomColor); 333 $( ".pmagic .page-numbers .page-numbers.current" ).addClass( "pm-bg" ).css('background', pmDomColor); 334 335 $('#change-pic').on('click', function(e) { 336 $('#changePic').show(); 337 $('#change-pic').hide(); 338 }); 339 340 $('#photoimg').on('change', function() 341 { 342 $('#cropimage').find('input[name="nonce"]').remove(); 343 $('#cropimage').append($('<input>', { type: 'hidden', name: 'nonce', value: pm_ajax_object.nonce })); 344 $("#preview-avatar-profile").html(''); 345 $("#preview-avatar-profile").html('<div><div class="pm-loader"></div></div>'); 346 var pmDomColor = $(".pmagic").find("a").css('color'); 347 $(".pm-loader").css('border-top-color', pmDomColor); 348 $('#avatar-edit-img').hide(); 349 $("#cropimage").ajaxForm({ 350 target: '#preview-avatar-profile', 351 success: function() 352 { 353 $("input[name='remove_image']").hide(); 354 var error = $("#pg_profile_image_error").val(); 355 if(error==1) 356 { 357 $("#btn-crop").hide(); 358 } 359 else 360 { 361 $("#btn-crop").show(); 362 } 363 $(".modal-footer").show(); 364 var profileArea = 150; 365 var tw = $('#truewidth').val(); 366 var th = $('#trueheight').val(); 367 var x = 25/100*tw; 368 var y = 25/100*th; 369 if(x+profileArea>tw || y+profileArea>th) 370 { 371 x = 0; 372 y = 0; 373 } 374 375 if(profileArea>tw) 376 { 377 profileArea = tw; 378 } 379 380 $('.jcrop-holder div div img').css('visibility','hidden'); 381 $('img#photo').Jcrop({ 382 trueSize: [tw,th], 383 aspectRatio: 1 / 1, 384 minSize:[profileArea,150], 385 setSelect: [ x,y,profileArea,150 ], 386 onSelect: updateCoords 387 }); 388 389 $('#image_name').val($('#photo').attr('file-name')); 390 } 391 }).trigger( 'submit' ); 392 393 }); 394 395 $('#btn-crop').on('click', function(e) 396 { 397 $(this).attr('disabled','disabled'); 398 e.preventDefault(); 399 var params = { 400 targetUrl: pm_ajax_object.ajax_url, 401 action: 'pm_upload_image', 402 nonce: pm_ajax_object.nonce, 403 status: 'save', 404 x: $('#x').val(), 405 y : $('#y').val(), 406 w: $('#w').val(), 407 h : $('#h').val(), 408 fullpath:$('#fullpath').val(), 409 user_id:$('#cropimage').find('input[name=\"user_id\"]').val(), 410 user_meta:$('#user_meta').val(), 411 attachment_id:$('#attachment_id').val() 412 }; 413 414 $.post(pm_ajax_object.ajax_url, params, function(response) 415 { 416 if(response) 417 { 418 $("#preview-avatar-profile").html(response); 419 location.reload(true); 420 } 421 }); 422 423 }); 424 425 $('#btn-cancel').on('click', function(e) 426 { 427 e.preventDefault(); 428 var params = { 429 targetUrl: pm_ajax_object.ajax_url, 430 action: 'pm_upload_image', 431 nonce: pm_ajax_object.nonce, 432 status: 'cancel', 433 x: $('#x').val(), 434 y : $('#y').val(), 435 w: $('#w').val(), 436 h : $('#h').val(), 437 fullpath:$('#fullpath').val(), 438 user_id:$('#cropimage').find('input[name=\"user_id\"]').val(), 439 user_meta:$('#user_meta').val(), 440 attachment_id:$('#attachment_id').val() 441 }; 442 443 $.post(pm_ajax_object.ajax_url, params, function(response) 444 { 445 if(response) 446 { 447 location.reload(true); 448 } 449 else 450 { 451 location.reload(true); 452 } 453 }); 454 455 }); 456 457 $('#change-cover-pic').on('click', function(e) { 458 $('#changeCoverPic').show(); 459 $('#change-cover-pic').hide(); 460 $('#cover_minwidth').val($('.pmagic').innerWidth()); 461 }); 462 463 $('#coverimg').on('change', function() 464 { 465 $('#cropcoverimage').find('input[name="nonce"]').remove(); 466 $('#cropcoverimage').append($('<input>', { type: 'hidden', name: 'nonce', value: pm_ajax_object.nonce })); 467 $("#preview-cover-image").html(''); 468 $("#preview-cover-image").html('<div><div class="pm-loader"></div></div>'); 469 var pmDomColor = $(".pmagic").find("a").css('color'); 470 $(".pm-loader").css('border-top-color', pmDomColor); 471 $("#cropcoverimage").ajaxForm({ 472 target: '#preview-cover-image', 473 success: function() { 474 $('#cover-edit-img').hide(); 475 $("input[name='remove_image']").hide(); 476 var error = $("#pg_cover_image_error").val(); 477 if(error==1) 478 { 479 $("#btn-cover-crop").hide(); 480 } 481 else 482 { 483 $("#btn-cover-crop").show(); 484 } 485 486 $(".modal-footer").show(); 487 var profileArea = $('.pmagic').innerWidth(); 488 489 var tw = $('#covertruewidth').val(); 490 var th = $('#covertrueheight').val(); 491 492 var x = 18/100*tw; 493 var y = 18/100*th; 494 if(x+profileArea>tw || y+300>th) 495 { 496 x = 0; 497 y = 0; 498 } 499 500 if(profileArea>tw) 501 { 502 profileArea = tw; 503 } 504 505 $('img#coverimage').Jcrop({ 506 trueSize: [tw,th], 507 minSize:[profileArea,300], 508 setSelect: [ x,y,profileArea,300 ], 509 aspectRatio: profileArea/300, 510 onSelect: updateCoverCoords 511 }); 512 } 513 }).trigger( 'submit' ); 514 }); 515 516 $('#btn-cover-crop').on('click', function(e) 517 { 518 $(this).attr('disabled','disabled'); 519 e.preventDefault(); 520 var params = { 521 targetUrl: pm_ajax_object.ajax_url, 522 action: 'pm_upload_cover_image', 523 nonce: pm_ajax_object.nonce, 524 cover_status: 'save', 525 x: $('#cx').val(), 526 y : $('#cy').val(), 527 w: $('#cw').val(), 528 h : $('#ch').val(), 529 fullpath:$('#coverfullpath').val(), 530 user_id:$('#cropcoverimage').find('input[name=\"user_id\"]').val(), 531 user_meta:'pm_cover_image', 532 attachment_id:$('#cover_attachment_id').val() 533 }; 534 $.post(pm_ajax_object.ajax_url, params, function(response) { 535 if(response) 536 { 537 $("#preview-cover-image").html(response); 538 location.reload(true); 539 } 540 }); 541 542 }); 543 544 $('#btn-cover-cancel').on('click', function(e) 545 { 546 e.preventDefault(); 547 var params = { 548 targetUrl: pm_ajax_object.ajax_url, 549 action: 'pm_upload_cover_image', 550 nonce: pm_ajax_object.nonce, 551 cover_status: 'cancel', 552 x: $('#cx').val(), 553 y : $('#cy').val(), 554 w: $('#cw').val(), 555 h : $('#ch').val(), 556 fullpath:$('#coverfullpath').val(), 557 user_id:$('#cropcoverimage').find('input[name=\"user_id\"]').val(), 558 user_meta:$('#user_meta').val(), 559 attachment_id:$('#cover_attachment_id').val() 560 }; 561 $.post(pm_ajax_object.ajax_url, params, function(response) { 562 if(response) 563 { 564 //alert(response); 565 //$("#preview-avatar-profile").html(response); 566 location.reload(true); 567 } 568 else 569 { 570 location.reload(true); 571 } 572 }); 573 574 }); 575 576 577 578 579// $( "#sections" ).tabs(); 580// $( "#pg-profile-tabs" ).tabs(); 581// $( "#pg-friends-container" ).tabs(); 582// $( "#pg-settings-container" ).tabs(); 583// $("#pg_group_tabs").tabs(); 584// $("#pg_group_setting").tabs();
585 openParentTab(); 586 587 $(".pm-profile-tab a").on( 'click', function () { 588 $("#pg-toggle-menu-close").prop('checked', false); 589 }); 590 591 $(".pm-section-left-panel ul li a").on( 'click', function () { 592 show_pg_section_right_panel(); 593 }); 594 595 $(".pg-mobile-479 .pm-section-right-panel").hide(); 596 597 $('#pm_submit_blog_page').on('click', function(e) { 598 $('#pm-add-blog-dialog, .pm-popup-mask, .pg-blog-dialog-mask').toggle(); 599 }); 600 601 $('#pm-add-blog-dialog .pm-popup-close').on('click', function(e) { 602 $('#pm-add-blog-dialog, .pm-popup-mask, .pg-blog-dialog-mask, #pm-edit-group-popup').hide(); 603 }); 604 var pmDomColor = $(".pmagic").find("a").css('color'); 605 $( ".pm-group-list-view-info span" ).css('background-color', pmDomColor); 606 $(".pmagic #pg_show_pending_post .pg-pending-posts").css('background-color', pmDomColor); 607 $(".pmagic #pg_show_inbox .pg-rm-inbox").css('background-color', pmDomColor); 608 $( ".pg-update-message svg" ).css('fill', pmDomColor); 609 $( ".pmagic .pg-group-filters-head .pg-sort-view input:checked+label svg" ).css('fill', pmDomColor); 610 611 612 $(document).on('click','.pm-blog-pagination ul li .page-numbers',function(event){ 613 event.preventDefault(); 614 // console.log($(this).text()); 615 var link = $(this).attr("href"); 616 if(link !== undefined) 617 { 618 var newpagenum =link.split('pagenum=')[1]; 619 pm_get_all_user_blogs_from_group(newpagenum); 620 } 621 }); 622 623 624 $(document).on('click','.pm-member-pagination ul li .page-numbers',function(event){ 625 event.preventDefault(); 626 // console.log($(this).text()); 627 var link = $(this).attr("href"); 628 if(link !== undefined) 629 { 630 var newpagenum =link.split('pagenum=')[1]; 631 pm_get_all_users_from_group(newpagenum); 632 } 633 }); 634 635 $(document).on('click','.pm-member-pagination-customize ul li .page-numbers',function(event){ 636 event.preventDefault(); 637 // console.log($(this).text()); 638 var link = $(this).attr("href"); 639 if(link !== undefined) 640 { 641 var newpagenum =link.split('pagenum=')[1]; 642 pm_get_all_users_from_group_advanced_group_theme(newpagenum); 643 } 644 }); 645 646 $(document).on('click','.pm-member-pagination-grid ul li .page-numbers',function(event){ 647 event.preventDefault(); 648 // console.log($(this).text()); 649 var link = $(this).attr("href"); 650 if(link !== undefined) 651 { 652 var newpagenum =link.split('pagenum=')[1]; 653 pm_get_all_users_from_group_grid_view(newpagenum,'grid'); 654 } 655 }); 656 657 $(document).on('click','.pm-groups-pagination ul li .page-numbers',function(event){ 658 event.preventDefault(); 659 // console.log($(this).text()); 660 var link = $(this).attr("href"); 661 if(link !== undefined) 662 { 663 var newpagenum =link.split('pagenum=')[1]; 664 pm_get_all_groups(newpagenum); 665 } 666 }); 667 668 $(document).on('click','.pm-request-pagination ul li .page-numbers',function(event){ 669 event.preventDefault(); 670 // console.log($(this).text()); 671 var link = $(this).attr("href"); 672 if(link !== undefined) 673 { 674 var newpagenum =link.split('pagenum=')[1]; 675 pm_get_all_requests_from_group(newpagenum); 676 } 677 }); 678 679 680 $(document).on('click','#pg-myfriends ul li .page-numbers',function(event){ 681 event.preventDefault(); 682 // console.log(jQuery(this).text()); 683 var link = $(this).attr("href"); 684 if(link !== undefined) 685 { 686 var newpagenum =link.split('pagenum=')[1]; 687 //alert(newpagenum); 688 var uid = $('#pm-uid').val(); 689 pm_get_my_friends(newpagenum,uid); 690 } 691 }); 692 693 694 $(document).on('click','#pg-requests-sent ul li .page-numbers',function(event){ 695 event.preventDefault(); 696 // console.log(jQuery(this).text()); 697 var link = $(this).attr("href"); 698 if(link !== undefined) 699 { 700 var newpagenum =link.split('pagenum=')[1]; 701 //alert(newpagenum); 702 var uid = $('#pm-uid').val();
703 pm_get_friend_requests_sent(newpagenum,uid); 704 } 705 }); 706 707 708 $(document).on('click','#pg-friend-requests ul li .page-numbers',function(event){ 709 event.preventDefault(); 710 // console.log(jQuery(this).text()); 711 var link = $(this).attr("href"); 712 if(link !== undefined) 713 { 714 var newpagenum =link.split('pagenum=')[1]; 715 //alert(newpagenum); 716 var uid = $('#pm-uid').val(); 717 pm_get_friend_requests(newpagenum,uid); 718 } 719 }); 720 721//*---Get group setting Width--- *// 722 723if(show_rm_sumbmission_tab.registration_tab==1){ 724 setTimeout(function(){ $('[href="#pg-settings"]').trigger('click'); }, 2000); 725 setTimeout(function(){ $('[href="#pg_rm_registration_tab"]').trigger('click'); }, 3000); 726} 727 728})(jQuery); 729
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.