Commit 8e9061b3a5a9643364b68be3acfc60c4456958c9

Authored by Michael Joseph
1 parent 93fb2f45

(#2676) replaced redirTime function with redirectLink function


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2373 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/js/misc.js
1   -<!-- Original: desypfa@hotmail.com -->
2   -<!-- Modified: Benjamin Wright, Editor -->
3   -<!-- This script and many more are available free online at -->
4   -<!-- The JavaScript Source!! http://javascript.internet.com -->
5   -
6   -function redirTimer(redirTime, redirURL) {
7   - self.setTimeout("self.location.href = redirURL;",redirTime);
  1 +/**
  2 + * Displays an alert message and then redirects to the specified url
  3 + */
  4 +function redirectLink(alertMessage, url) {
  5 + alert(alertMessage);
  6 + self.location.href=url;
8 7 }
9 8  
10 9 /**
... ...