1; /* /bitrix/js/socialservices/ss.js*/ 2 3; /* Start:/bitrix/js/socialservices/ss.js*/ 4function BxShowAuthService(id, suffix) 5{ 6 var bxCurrentAuthId = ''; 7 if(window['bxCurrentAuthId'+suffix]) 8 bxCurrentAuthId = window['bxCurrentAuthId'+suffix]; 9 10 BX('bx_auth_serv'+suffix).style.display = ''; 11 if(bxCurrentAuthId != '' && bxCurrentAuthId != id) 12 { 13 BX('bx_auth_href_'+suffix+bxCurrentAuthId).className = ''; 14 BX('bx_auth_serv_'+suffix+bxCurrentAuthId).style.display = 'none'; 15 } 16 BX('bx_auth_href_'+suffix+id).className = 'bx-ss-selected'; 17 BX('bx_auth_href_'+suffix+id).blur(); 18 BX('bx_auth_serv_'+suffix+id).style.display = ''; 19 var el = BX.findChild(BX('bx_auth_serv_'+suffix+id), {'tag':'input', 'attribute':{'type':'text'}}, true); 20 if(el) 21 try{el.focus();}catch(e){} 22 window['bxCurrentAuthId'+suffix] = id; 23 if(document.forms['bx_auth_services'+suffix]) 24 document.forms['bx_auth_services'+suffix].auth_service_id.value = id; 25 else if(document.forms['bx_user_profile_form'+suffix]) 26 document.forms['bx_user_profile_form'+suffix].auth_service_id.value = id; 27} 28 29var bxAuthWnd = false; 30function BxShowAuthFloat(id, suffix) 31{ 32 var bCreated = false; 33 if(!bxAuthWnd) 34 { 35 bxAuthWnd = new BX.CDialog({ 36 'content':'<div id="bx_auth_float_container"></div>', 37 'width': 640, 38 'height': 400, 39 'resizable': false 40 }); 41 bCreated = true; 42 } 43 bxAuthWnd.Show(); 44 45 if(bCreated) 46 BX('bx_auth_float_container').appendChild(BX('bx_auth_float')); 47 48 BxShowAuthService(id, suffix); 49} 50/* End */ 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.