PageSourceSearch

https://canaldoleite.com/js/proluv_alert.js

js canaldoleite.com collected 2026-10-08 14:59:39 UTC 1,229 bytes, 41 lines download raw bytes

1function proluv_alert( titulo, conteudo, botao, foco ){
2	curPos = $(window).scrollTop();
3	$("#proluv_alert_titulo").html( titulo );
4	$("#proluv_alert_conteudo").html( conteudo );
5	$("#proluv_alert").modal( "show" );
6	$("#proluv_alert_botao").html( botao );
7	if( botao != "" ){					
8		$("#proluv_alert_fecha").show();
9		$("#proluv_alert_fecha1").show();
10		if( foco != "" ){
11			$('#proluv_alert').on('hide', function () {
12				$( foco ).addClass( "proluv_alert_error" );
13				$( foco ).focusout( function () {
14				    $( foco ).removeClass( "proluv_alert_error" );
15				});							  							
16				$( foco ).parent().parent().addClass( "error" );							
17				$( foco ).parent().parent().focusout( function () {
18				    $(this).removeClass( "error" );
19				});
20				$(window).scrollTop(curPos);
21    			$( foco ).focus();
22			});
23		}
24	}else{
25		$("#proluv_alert_fecha").hide();
26		$("#proluv_alert_fecha1").hide();
27    	$('#proluv_alert').on('hide', function () {
28    		if ( $("#proluv_alert_botao").html() == ""){
29    			alert( "Aguarde o término do processo.");
30				return false;
31    		}else{
32    			return true;
33    		}
34		});
35	}
36}
37
38function proluv_alert_fecha(){
39	$("#proluv_alert_botao").html( "..." );
40	$("#proluv_alert").modal( "hide" );
41}

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.