1 2//----------------------------------------------------------------------- 3//Rendelésnél, ha kitöltünk egy textboxot, az megváltozik, hogy jobban szembetűnjön 4//----------------------------------------------------------------------- 5function OnChangeDOOrderTextbox(DOMtextbox) 6{ 7 var textbox = $('#' + DOMtextbox.id); 8 if (textbox.val() == "") { 9 textbox.removeClass('notempty'); 10 } else { 11 textbox.addClass('notempty'); 12 } 13} 14 15 16//----------------------------------------------------------------------- 17//Rendelésnél, duplakattintásnál a placeholder beÃródik rendesen 18//----------------------------------------------------------------------- 19function OnDblClickDOOrderTextbox(DOMtextbox) 20{ 21 var textbox = $('#' + DOMtextbox.id); 22 23 if (!textbox.hasClass('notempty')) { 24 textbox.val( textbox.attr('placeholder') ); 25 textbox.addClass('notempty'); 26 } else { 27 textbox.val( '' ); 28 textbox.removeClass('notempty'); 29 } 30} 31 32 33//----------------------------------------------------------------------- 34//Rendelésnél, duplakattintásnál a placeholder beÃródik rendesen az egész napra 35//----------------------------------------------------------------------- 36function OnClickDOOrderTitle(DOMlabel) 37{ 38 var tabpage_0 = $('#tabpage_0'); 39 tabpage_0.children('div').each(function () { 40 $(this).children('input').each(function () { 41 var id = $(this).attr("id"); 42 if (id.indexOf(DOMlabel.id + "_") == 0) { 43 OnDblClickDOOrderTextbox($(this).get(0)); 44 } 45 }); 46 }); 47} 48 49 50//----------------------------------------------------------------------- 51//Rendelésnél, duplakattintásnál a placeholder beÃródik rendesen az egész napra 52//----------------------------------------------------------------------- 53function OnClickDOOrderToStorageTitle() 54{ 55 var subcontent = $('#subcontent'); 56 subcontent.children('div').each(function () { 57 $(this).children('input').each(function () { 58 OnDblClickDOOrderTextbox($(this).get(0)); 59 }); 60 }); 61}
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.