Skip to content

Commit

Permalink
Fix on smartphone
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 13, 2019
1 parent 8d18915 commit ebe8f27
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion htdocs/core/class/html.form.class.php
Expand Up @@ -602,7 +602,9 @@ public function selectMassAction($selected, $arrayofaction, $alwaysvisible = 0)
$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")).'">';
Expand Down
3 changes: 3 additions & 0 deletions htdocs/theme/eldy/global.inc.php
Expand Up @@ -91,6 +91,9 @@
margin-bottom:1px;
margin-top:1px;
}
input.button.massactionconfirmed {
margin: 4px;
}

/* Focus definitions must be after standard definition */
textarea:focus {
Expand Down
4 changes: 3 additions & 1 deletion htdocs/theme/md/style.css.php
Expand Up @@ -323,7 +323,9 @@
margin-bottom:1px;
margin-top:1px;
}

input.button.massactionconfirmed {
margin: 4px;
}

textarea {
border-radius: 0;
Expand Down

0 comments on commit ebe8f27

Please sign in to comment.