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; } /**