PageSourceSearch

https://www.cbcstore.com.br/store/_ui/responsive/common/js/acc.forgottenpassword.js

js cbcstore.com.br collected 2026-10-06 04:43:11 UTC 1,127 bytes, 55 lines download raw bytes

1ACC.forgottenpassword = {
2
3	_autoload: [
4		"bindLink"
5	],
6
7	bindLink: function(){
8		$(document).on("click",".js-password-forgotten",function(e){
9			e.preventDefault();
10
11			var titleHtml = ACC.common.encodeHtml($(this).data("cboxTitle"));
12			ACC.colorbox.open(
13				titleHtml,
14				{
15					href: $(this).data("link"),
16					width:"480px",
17					height:"480px",
18					fixed: true,
19					top: 150,
20					onOpen: function()
21					{
22						$('#validEmail').remove();
23					},
24					onComplete: function(){
25
26						validations.validateCPF();
27						validations.setCpfValidationClassRule();
28						ACC.masks.applyMasks();
29
30						$('form#forgottenPwdForm').ajaxForm({
31							success: function(data)
32							{
33								if ($(data).closest('#validEmail').length)
34								{
35									
36									if ($('#validEmail').length === 0)
37									{
38										$(".forgotten-password").replaceWith(data);
39										ACC.colorbox.resize();
40									}
41								}
42								else
43								{
44									$("#forgottenPwdForm .control-group").replaceWith($(data).find('.control-group'));
45									ACC.colorbox.resize();
46								}
47							}
48						});
49					}
50				}
51			);
52		});
53	}
54
55};

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.