--- takahashi.xul 2006/06/10 08:44:15 7 +++ takahashi.xul 2006/06/10 15:03:44 10 @@ -1008,7 +1008,7 @@ if (this.dataPath != file) { var path = this.dataPath; var request = new XMLHttpRequest(); - request.open('GET', path); + request.open('GET', path + '?rand=' + Math.random() ); request.onload = function() { Presentation.textbox.value = request.responseText; Presentation.data = Presentation.textbox.value; @@ -1060,8 +1060,6 @@ }, insert : function(aType) { - var scrollTop = this.textbox.scrollTop; -// alert(this.textbox.scrollTop); switch (aType) { case 'page': @@ -1096,7 +1094,6 @@ default: return; } - this.textbox.scrollTop = scrollTop; this.onEdit(); }, insertTextFor : function(aString, aNode, aPosOffset)