summaryrefslogtreecommitdiff
path: root/httemplate/elements/popup_link_onclick.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-08-04 11:16:41 -0700
committerMark Wells <mark@freeside.biz>2015-08-04 11:52:57 -0700
commitce1a26f5033acf26ccf0c922b2fc43cc2baa2bb9 (patch)
treee146ac70e272749658fe146e522931ad83a79269 /httemplate/elements/popup_link_onclick.html
parent908d425750365b7a2bf59334ccfc41adc9d61a17 (diff)
de-randomization fixes for testing, #37340
Conflicts: FS/FS/Conf.pm
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' ), ".