1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00
Fix di alcuni bug in vari moduli.
This commit is contained in:
Thomas Zilio
2017-08-29 16:34:02 +02:00
parent 56fb26fb52
commit af55c235f2
10 changed files with 20 additions and 43 deletions

View File

@@ -64,10 +64,12 @@ class HTMLWrapper implements WrapperInterface
unset($values['show-help']);
}
$values['data-parsley-errors-container'] = '#'.$values['id'].'-errors';
$rand = rand(0, 99);
$values['data-parsley-errors-container'] = '#'.$values['id'].$rand.'-errors';
$result .= '
<div id="'.$values['id'].'-errors"></div>';
<div id="'.$values['id'].$rand.'-errors"></div>';
if (!empty($values['label'])) {
$result .= '