Permalink
Browse files

Save is available without JS

  • Loading branch information...
1 parent b92fe58 commit db2ac19b808b791eb2e43d854182d92a02dc17af @vrana committed Aug 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/select.inc.php
View
2 adminer/select.inc.php
@@ -399,7 +399,7 @@
if ($adminer->selectCommandPrint()) {
?>
<fieldset><legend><?php echo lang('Edit'); ?></legend><div>
-<input type="submit" value="<?php echo lang('Save'); ?>" title="<?php echo lang('Double click on a value to modify it.'); ?>" class="jsonly">
+<input type="submit" value="<?php echo lang('Save'); ?>"<?php echo ($_GET["modify"] ? '' : ' title="' . lang('Double click on a value to modify it.') . '" class="jsonly"'); ?>>
<input type="submit" name="edit" value="<?php echo lang('Edit'); ?>">
<input type="submit" name="clone" value="<?php echo lang('Clone'); ?>">
<input type="submit" name="delete" value="<?php echo lang('Delete'); ?>" onclick="return confirm('<?php echo lang('Are you sure?'); ?> (' + (this.form['all'].checked ? <?php echo $found_rows; ?> : formChecked(this, /check/)) + ')');">

0 comments on commit db2ac19

Please sign in to comment.