diff options
| author | Mark Wells <mark@freeside.biz> | 2015-08-04 11:16:41 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-08-04 11:52:57 -0700 |
| commit | ce1a26f5033acf26ccf0c922b2fc43cc2baa2bb9 (patch) | |
| tree | e146ac70e272749658fe146e522931ad83a79269 /httemplate/elements/tr-input-mask.html | |
| parent | 908d425750365b7a2bf59334ccfc41adc9d61a17 (diff) | |
de-randomization fixes for testing, #37340
Conflicts:
FS/FS/Conf.pm
Diffstat (limited to 'httemplate/elements/tr-input-mask.html')
| -rw-r--r-- | httemplate/elements/tr-input-mask.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/tr-input-mask.html b/httemplate/elements/tr-input-mask.html index fdd20962d..93e322c6c 100644 --- a/httemplate/elements/tr-input-mask.html +++ b/httemplate/elements/tr-input-mask.html @@ -68,7 +68,7 @@ my $init = 0; <%init> my %opt = @_; # must have a DOM id -my $id = $opt{id} || sprintf('input%04d',int(rand(10000))); +my $id = $opt{id} || sprintf('input%04d',random_id(4)); my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value} || ''; my $clipboard_hack = $FS::CurrentUser::CurrentUser->option('enable_mask_clipboard_hack'); |
