1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 09:04:02 +02:00

Don't use AJAX links and forms

This commit is contained in:
Jakub Vrana
2012-04-15 22:18:03 -07:00
parent bf54c13dfe
commit 4815c7d020
37 changed files with 13 additions and 258 deletions

View File

@@ -51,7 +51,7 @@ foreach (table_status() as $name => $table_status) {
<p>
<?php if ($row["db"] == "" && $row["ns"] == "") { ?>
<?php echo lang('Target table'); ?>:
<?php echo html_select("table", $referencable, $row["table"], "this.form['change-js'].value = '1'; if (!ajaxForm(this.form)) this.form.submit();"); ?>
<?php echo html_select("table", $referencable, $row["table"], "this.form['change-js'].value = '1'; this.form.submit();"); ?>
<input type="hidden" name="change-js" value="">
<noscript><p><input type="submit" name="change" value="<?php echo lang('Change'); ?>"></noscript>
<table cellspacing="0">