summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link_onclick.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/popup_link_onclick.html')
-rw-r--r--httemplate/elements/popup_link_onclick.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/popup_link_onclick.html b/httemplate/elements/popup_link_onclick.html
index 0690dc812..612de7520 100644
--- a/httemplate/elements/popup_link_onclick.html
+++ b/httemplate/elements/popup_link_onclick.html
@@ -62,7 +62,7 @@ $scrolling = $params->{'scrolling'} if exists $params->{'scrolling'};
#stupid safari is caching the "location" of popup iframs, and submitting them
#instead of displaying them. this should prevent that.
-my $popup_name = 'popup-'.time. "-$$-". rand() * 2**32;
+my $popup_name = 'popup-'.random_id();
my $onclick =
"overlib( OLiframeContent($action, $width, $height, '$popup_name', 0, '$scrolling' ), ".