Changes

Jump to navigation Jump to search
See if this works better.
Line 47: Line 47:  
   
 
   
 
function DoWelcome() {
 
function DoWelcome() {
−
   var TxtRange = document.selection.createRange();
+
   var txt = document.editform.wpTextbox1;
−
  var sel = TxtRange.text;
+
  txt.value = txt.value+'{{welcome|sig=~~~~}}';
−
  sel='{{welcome|sig=~~~~}}';
+
//  var TxtRange = document.selection.createRange();
−
  TxtRange.text=sel;
+
//  var sel = TxtRange.text;
−
   wpSummary.text='welcome';
+
//  sel='{{welcome|sig=~~~~}}';
 +
//  TxtRange.text=sel;
 +
   txt = document.editform.wpSummary;
 +
  txt.value = 'welcome';
 
}
 
}
 
//</pre>
 
//</pre>
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu