зеркало из https://github.com/mozilla/gecko-dev.git
Fix 58633 and 49744: a typo in GetLastVisited() and improving a cmd line help description. r=jag sr=alecf
This commit is contained in:
Родитель
fd8e3009e2
Коммит
06eaf36ab6
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче