summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5247239)
raw | patch | inline | side by side (parent: 5247239)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Nov 2007 06:24:03 +0000 (06:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Nov 2007 06:24:03 +0000 (06:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7831 594d385d-05f5-0310-b6e9-bd551577e9d8
html/include/events.js | [new file with mode: 0644] | patch | blob |
html/include/focus.js | patch | blob | history | |
html/include/layersmenu.js | patch | blob | history |
diff --git a/html/include/events.js b/html/include/events.js
--- /dev/null
+++ b/html/include/events.js
@@ -0,0 +1,20 @@
+window.onload = OnLoad;
+window.onresize = OnResize;
+window.onkeypress = OnKeyPress;
+
+function OnKeyPress()
+{
+ keyPress();
+}
+
+function OnLoad()
+{
+ adjust();
+ loadHandler();
+}
+
+function OnResize()
+{
+ adjust();
+ resizeHandler();
+}
diff --git a/html/include/focus.js b/html/include/focus.js
index 29003ea5b62fb2800c0497bcf01686d0b415bbe5..a16220c577af26051a75af9a6b3ed0f431111648 100644 (file)
--- a/html/include/focus.js
+++ b/html/include/focus.js
}
}
-window.onload = adjust;
-window.onresize = adjust;
-
function adjust (e) {
adjust_height(e);
adjust_width(e);
index 6438a89c9f28a6f58a08c8a896dbdf286e46d3fc..f4302e7caa300dc5a8cb6e81084e66982f8434f5 100644 (file)
}
// moveLayers();
layersMoved = 0;
- adjust();
}
-window.onresize = resizeHandler;
function yaresizeHandler()
{
yaresizeHandler();
}
}
-window.onload = loadHandler;
function fixieflm(menuName)
{