Fix 58633 and 49744: a typo in GetLastVisited() and improving a cmd line help description. r=jag sr=alecf

This commit is contained in:
blakeross%telocity.com 2006-07-27 14:53:01 +00:00
Родитель fd8e3009e2
Коммит 06eaf36ab6
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -20,8 +20,8 @@
* Contributor(s):
*/
function ShowLastPageVisted() {
dump("start of ShowLastPageVisted()\n");
function ShowLastPageVisited() {
dump("start of ShowLastPageVisited()\n");
var lastpagevisited = "failure...not set";
@ -34,7 +34,7 @@ function ShowLastPageVisted() {
}
if (history) {
try {
lastpagevisited = history.GetLastPageVisted();
lastpagevisited = history.GetLastPageVisited();
document.getElementById('result').value = lastpagevisited;
}
catch (ex) {

Просмотреть файл

@ -17,5 +17,5 @@
<html:input id="result" type="text" style="min-width: 400px; min-height: 27px" flex="100%"/>
</box>
<html:hr/>
<html:button onclick="ShowLastPageVisted()">Show Last Page Visted</html:button>
<html:button onclick="ShowLastPageVisited();">Show Last Page Visited</html:button>
</window>