From ec327cbb34922c125c3dac2c4757af380200f44a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 21 Jan 2006 19:30:43 +0000 Subject: Enhancements to the time span selector. --- html/rrdui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'html/rrdui.js') diff --git a/html/rrdui.js b/html/rrdui.js index f71a8a3..ad056d5 100644 --- a/html/rrdui.js +++ b/html/rrdui.js @@ -406,7 +406,7 @@ function actionGoto(img, act) /* Display the selection thingy */ var got = gdoc.getElementById("goto"); - /* TODO: Make 120/170 a constant */ + /* TODO: Make numbers constants */ got.style.top = img.offsetTop + 40; got.style.left = (img.offsetLeft + img.width) - 160; got.style.width = 120; @@ -415,6 +415,8 @@ function actionGoto(img, act) var sel = gdoc.getElementById("goto-select"); sel.onchange = actionGotoChange; sel._img = img; + sel.value = null; + sel.selectedIndex = -1; } function actionGotoCancel() -- cgit v1.2.3