The branch, master has been updated via f4f3d46989cc18f1ccfbca193788bd4de0018305 (commit) from f6da9031f9ac6545c87422cb6dd5fd271be6419d (commit)
- Log ----------------------------------------------------------------- commit f4f3d46989cc18f1ccfbca193788bd4de0018305 Author: Piotr Przybylski piotrprz@gmail.com Date: Fri Sep 2 15:21:18 2011 +0200
length is unknown for geometry fields, make enough space to edit very simple WKTs (text fields were 4 characters wide)
-----------------------------------------------------------------------
Summary of changes: tbl_change.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tbl_change.php b/tbl_change.php index 6024d80..5395dda 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -458,6 +458,10 @@ foreach ($rows as $row_id => $vrow) {
if (-1 === $field['len']) { $field['len'] = PMA_DBI_field_len($vresult, $i); + // length is unknown for geometry fields, make enough space to edit very simple WKTs + if (-1 === $field['len']) { + $field['len'] = 30; + } } //Call validation when the form submited... $unnullify_trigger = $chg_evt_handler . "="return verificationsAfterFieldChange('". PMA_escapeJsString($field['Field_md5']) . "', '"
hooks/post-receive