4 bytes removed ,  12:16, 21 August 2010
no edit summary
Line 6: Line 6:  
//
 
//
 
function delayedUpdateSpecialUpload(){
 
function delayedUpdateSpecialUpload(){
var textarea = document.getElementById('wpUploadDescription');  
+
var editbox = document.getElementById('wpUploadDescription');  
    
if (location.href == "http://wikivet.net/index.php/Special:Upload"){
 
if (location.href == "http://wikivet.net/index.php/Special:Upload"){
   −
  textarea.value = "{"+"{Information\n"
+
  editbox.value = "{"+"{Information\n"
 
                 + "|Description=\n"
 
                 + "|Description=\n"
 
                 + "|Source=\n"
 
                 + "|Source=\n"
Line 22: Line 22:  
if (location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
 
if (location.href == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){
   −
textarea.value = "{"+"{Information\n"
+
editbox.value = "{"+"{Information\n"
 
               + "|Description=\n"
 
               + "|Description=\n"
 
               + "|Source=Own Work\n"
 
               + "|Source=Own Work\n"
Line 33: Line 33:  
if (window.location.pathname == "/index.php"){
 
if (window.location.pathname == "/index.php"){
   −
textarea.value = "{"+"{Information\n"
+
editbox.value = "{"+"{Information\n"
 
               + "|Description=\n"
 
               + "|Description=\n"
 
               + "|Source=\n"
 
               + "|Source=\n"