mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
add onCancel method and helper method for loading pages on the fly
This commit is contained in:
parent
2c3ad6f893
commit
35480a6a19
@ -64,6 +64,14 @@ function onNext(event) {
|
||||
nextPage(contentWindow);
|
||||
}
|
||||
|
||||
function onCancel(event) {
|
||||
window.close();
|
||||
}
|
||||
|
||||
function onLoadPage(event) {
|
||||
contentWindow.location = getUrlFromTag(document.getElementById("newPage").value);
|
||||
}
|
||||
|
||||
function onBack(event) {
|
||||
previousPage(contentWindow);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user