Mercurial > hg > digilib
changeset 995:f0c15cf71092
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 | 0928b8dccd48 |
children | e5767e15b20b |
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; },