Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-08-18 13:51:39 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-08-18 13:51:39 +0300
commita3217f4335d64efba2c3d40b2d15e1fffc0a2e74 (patch)
treea3f7182296b3f5c9991dc6d3ca79d1e4648c024b /tbl_change.php
parentb0dd1d54fe5fee3eae0924faf4a7f32bc2cc156f (diff)
Move GIS editor out of insert form so it wont be affected by input validations
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'tbl_change.php')
-rw-r--r--tbl_change.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_change.php b/tbl_change.php
index 5a705e4df0..0f2fc5e17d 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -202,8 +202,6 @@ foreach ($rows as $row_id => $current_row) {
$scripts->addFiles($GLOBALS['plugin_scripts']);
unset($unsaved_values, $checked, $repopulate, $GLOBALS['plugin_scripts']);
-$html_output .= PMA_getHtmlForGisEditor();
-
if (! isset($after_insert)) {
$after_insert = 'back';
}
@@ -221,6 +219,8 @@ if ($biggest_max_file_size > 0) {
) . "\n";
}
$html_output .= '</form>';
+
+$html_output .= PMA_getHtmlForGisEditor();
// end Insert/Edit form
if ($insert_mode) {