Difference between revisions of "MediaWiki:Common.js"

From Ryzom Commons

Jump to: navigation, search
m
m
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 +
function FillUploadForm() {
 
uploadDesc = document.getElementById('wpUploadDescription');
 
uploadDesc = document.getElementById('wpUploadDescription');
 +
uploadDesc.innerHTML = "test";
 +
}
 +
addOnloadHook( FillUploadForm );

Revision as of 02:27, 30 May 2010

/* Any JavaScript here will be loaded for all users on every page load. */
function FillUploadForm() {
uploadDesc = document.getElementById('wpUploadDescription');
uploadDesc.innerHTML = "test";
}
addOnloadHook( FillUploadForm );