diff msite.inc.php @ 785:7735f97b2bbf

Preliminal implementation of the preview image zoom box.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 21 Nov 2014 05:32:19 +0200
parents 6e9e42005701
children b42b23073209
line wrap: on
line diff
--- a/msite.inc.php	Thu Nov 20 17:07:46 2014 +0200
+++ b/msite.inc.php	Fri Nov 21 05:32:19 2014 +0200
@@ -781,7 +781,7 @@
       {
         echo
           "<a href=\"".ihentities($pdata["previewURL"]).
-          "\" onClick=\"jsShowPreviewImage('".ihentities($pdata["previewURL"])."')\">".
+          "\" onClick=\"return jsShowPreviewImage('".ihentities($pdata["previewURL"])."');\">".
           "<img class=\"imagePreview\" src=\"".ihentities($pdata["thumbURL"]).
           "\" alt=\"Preview\" /></a>";
       }