]> git.joonet.de Git - adminer.git/commitdiff
Save is available without JS
authorJakub Vrana <jakub@vrana.cz>
Wed, 10 Aug 2011 15:43:28 +0000 (17:43 +0200)
committerJakub Vrana <jakub@vrana.cz>
Wed, 10 Aug 2011 15:43:28 +0000 (17:43 +0200)
adminer/select.inc.php

index 81bf6ffefe9db17bbb1bf44116653e101fc4b115..1220954e99ebdd3be6dfa44fab597c438539e747 100644 (file)
@@ -399,7 +399,7 @@ if (!$columns) {
                        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/)) + ')');">