JSON fields need autoGenerate=>0 and noFormPost=>1, fixes bug #11075

This commit is contained in:
Colin Kuskie 2009-09-30 11:26:01 -07:00
parent 0388a2e403
commit a02b4c7bb4
3 changed files with 14 additions and 6 deletions

View file

@ -25,6 +25,7 @@
- fixed #11066: wrong definitions - fixed #11066: wrong definitions
- fixed #11070: i18n Asset_Navigation::assetsToInclude - fixed #11070: i18n Asset_Navigation::assetsToInclude
- fixed #11068: ITransact_recurringStatus - fixed #11068: ITransact_recurringStatus
- fixed #11075: product destroys variants
7.8.0 7.8.0
- upgraded YUI to 2.8.0r4 - upgraded YUI to 2.8.0r4

View file

@ -153,37 +153,43 @@ sub definition {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
accessoryJSON => { accessoryJSON => {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
relatedJSON => { relatedJSON => {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
specificationJSON => { specificationJSON => {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
featureJSON => { featureJSON => {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
benefitJSON => { benefitJSON => {
##Collateral data is stored as JSON in here ##Collateral data is stored as JSON in here
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
fieldType=>"textarea", fieldType => "textarea",
noFormPost => 1,
}, },
); );
push(@{$definition}, { push(@{$definition}, {

View file

@ -166,6 +166,7 @@ sub definition {
fieldType => 'textarea', fieldType => 'textarea',
defaultValue => '[]', defaultValue => '[]',
noFormPost => 1, noFormPost => 1,
autoGenerate => 0,
}, },
); );
push(@{$definition}, { push(@{$definition}, {