Fix on smartphone

This commit is contained in:
Laurent Destailleur 2019-04-13 10:29:09 +02:00
parent 8d18915746
commit ebe8f27c16
3 changed files with 9 additions and 2 deletions

View File

@ -602,7 +602,9 @@ class Form
$ret.=$hookmanager->resPrint;
$ret.='</select>';
$ret.=ajax_combobox('.massactionselect');
if (empty($conf->dol_optimize_smallscreen)) $ret.=ajax_combobox('.massactionselect');
// Warning: if you set submit button to disabled, post using 'Enter' will no more work if there is no another input submit. So we add a hidden button
$ret.='<input type="submit" name="confirmmassactioninvisible" style="display: none" tabindex="-1">'; // Hidden button BEFORE so it is the one used when we submit with ENTER.
$ret.='<input type="submit" disabled name="confirmmassaction" class="button'.(empty($conf->use_javascript_ajax)?'':' hideobject').' massaction massactionconfirmed" value="'.dol_escape_htmltag($langs->trans("Confirm")).'">';

View File

@ -91,6 +91,9 @@ input, select {
margin-bottom:1px;
margin-top:1px;
}
input.button.massactionconfirmed {
margin: 4px;
}
/* Focus definitions must be after standard definition */
textarea:focus {

View File

@ -323,7 +323,9 @@ input, select {
margin-bottom:1px;
margin-top:1px;
}
input.button.massactionconfirmed {
margin: 4px;
}
textarea {
border-radius: 0;