From 8e9061b3a5a9643364b68be3acfc60c4456958c9 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 15 Jul 2003 09:59:00 +0000 Subject: [PATCH] (#2676) replaced redirTime function with redirectLink function --- presentation/lookAndFeel/knowledgeTree/js/misc.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/js/misc.js b/presentation/lookAndFeel/knowledgeTree/js/misc.js index d580f87..96d73aa 100644 --- a/presentation/lookAndFeel/knowledgeTree/js/misc.js +++ b/presentation/lookAndFeel/knowledgeTree/js/misc.js @@ -1,10 +1,9 @@ - - - - - -function redirTimer(redirTime, redirURL) { - self.setTimeout("self.location.href = redirURL;",redirTime); +/** + * Displays an alert message and then redirects to the specified url + */ +function redirectLink(alertMessage, url) { + alert(alertMessage); + self.location.href=url; } /** -- libgit2 0.21.4