Mercurial > hg > digilib-old
changeset 1005:a5a27bc99eef
CLOSED - # 23: reference action should return false after alert
https://it-dev.mpiwg-berlin.mpg.de/tracs/digilib/ticket/23
author | robcast |
---|---|
date | Tue, 14 Feb 2012 10:17:01 +0100 |
parents | 8fe70597f7e7 |
children | c9c9621eb1e6 |
files | webapp/src/main/webapp/jquery/jquery.digilib.js |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.js Tue Feb 14 02:46:28 2012 +0100 +++ b/webapp/src/main/webapp/jquery/jquery.digilib.js Tue Feb 14 10:17:01 2012 +0100 @@ -450,6 +450,8 @@ var url = getDigilibUrl(data); if (noprompt == null) { window.prompt("URL reference to the current view", url); + // return false so we can use is in javascript: url without reload + return false; } return url; },