mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-28 16:50:06 +01:00
Fix autocomplete form
This commit is contained in:
parent
abfc35b2d2
commit
5de751aba8
@ -68,7 +68,7 @@ if (sizeof($problemi_anagrafica) > 0) {
|
||||
|
||||
?>
|
||||
|
||||
<form action="" method="post" id="edit-form" autocomplete="<?php echo setting('Autocompletamento form'); ?>" >
|
||||
<form action="" method="post" id="edit-form">
|
||||
<fieldset>
|
||||
<input type="hidden" name="backto" value="record-edit">
|
||||
<input type="hidden" name="op" value="update">
|
||||
|
@ -73,7 +73,7 @@ class ChoicesHandler implements HandlerInterface
|
||||
$result = '
|
||||
<div class="form-group checkbox-group">
|
||||
<input type="hidden" name="|name|" value="|value|" class="openstamanager-input">
|
||||
<input type="checkbox" id="|id|" value="|value|" autocomplete="off" class="hidden" |attr| onchange="$(this).parent().find(\'[type = hidden]\').val(+this.checked).trigger(\'change\')"/>
|
||||
<input type="checkbox" id="|id|" value="|value|" class="hidden" |attr| onchange="$(this).parent().find(\'[type = hidden]\').val(+this.checked).trigger(\'change\')"/>
|
||||
<div class="btn-group checkbox-buttons">
|
||||
<label for="|id|" class="btn btn-default'.$class.'">
|
||||
<span class="fa fa-check text-success"></span>
|
||||
|
@ -72,7 +72,7 @@ class DefaultHandler implements HandlerInterface
|
||||
{
|
||||
// Generazione del codice HTML
|
||||
return '
|
||||
<input |attr| autocomplete="off">';
|
||||
<input |attr| autocomplete='.setting("Autocompletamento form").'>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user