[quote]Ciao a tutti buongiorno come faccio a personalizzare la scritta "No document found" che esce quando non ci sono documenti in una vista??[/quote] se la vista è all\'interno di un form (tipo "$$ViewTemplate..") puoi fare cosi\': su "OnLoad" Sostituisci( \'nessun documento\') su "JSHeader" function Sostituisci(vMessage){ var h2 = document.getElementsByTagName("h2"); for (var vLoop = 0; vLoop < h2.length; vLoop++){ if (h2[vLoop].childNodes[0].nodeValue == "No documents found"){ h2[vLoop].childNodes[0].nodeValue = vMessage; } h2[vLoop].style.visibility = \'visible\'; } } Spero funga, ciao
|