projects
/
mandelbrot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make overview item work
[mandelbrot.git]
/
xulapp
/
chrome
/
mandelbrot
/
content
/
mandelbrot.js
diff --git
a/xulapp/chrome/mandelbrot/content/mandelbrot.js
b/xulapp/chrome/mandelbrot/content/mandelbrot.js
index 34761cac22fe4f9779508aaf59e45715d79811b3..d07345ee81fe1d97b74489f94b22185b16674f8b 100644
(file)
--- a/
xulapp/chrome/mandelbrot/content/mandelbrot.js
+++ b/
xulapp/chrome/mandelbrot/content/mandelbrot.js
@@
-511,8
+511,11
@@
function updateBookmarkMenu(aParent) {
function callBookmark(evtarget) {
if (evtarget.id == "bookmarkSave" || evtarget.id == "bookmarkSeparator")
function callBookmark(evtarget) {
if (evtarget.id == "bookmarkSave" || evtarget.id == "bookmarkSeparator")
- return
-
+ return;
+ if (evtarget.id == "bookmarkOverview") {
+ adjustCoordsAndDraw(new complex(0,0), new complex(0,0));
+ return;
+ }
alert(evtarget.getAttribute('label') + ', ' + evtarget.getAttribute('bmRowID'));
//gPref.setIntPref("mandelbrot.iteration_max", iterMax);
}
alert(evtarget.getAttribute('label') + ', ' + evtarget.getAttribute('bmRowID'));
//gPref.setIntPref("mandelbrot.iteration_max", iterMax);
}