Refresh Adjustments, change in DropDown, save the code to javascript

This commit is contained in:
Hector Cortez
2011-02-24 15:25:45 +00:00
parent a9c4f70337
commit 6dd45989b5
6 changed files with 49 additions and 18 deletions

View File

@@ -263,12 +263,12 @@ class DBTable
$iskey = in_array( $field, $this->table_keys ) && strtoupper(substr(trim($val),0,7) ) == "NEXTVAL";
$dbcType = isset ( $this->_dbc->type ) ? $this->_dbc->type : $DBEngine;
// Commented by new format of textarea
if( ! $iskey )
$val = "'" . G::sqlEscape( $val , $dbcType ) . "'";
$strValues .= " $val ,";
$val = "'" . $val . "'";
///-- $val = "'" . G::sqlEscape( $val , $dbcType ) . "'";
$strValues .= $val .", ";
}
$strFields = substr( $strFields , 0, strlen($strFields)-1 );
$strValues = substr( $strValues , 0, strlen($strValues)-1 );