Prevent the generateGraph yesNo from being generated twice in the editForm.

Fixes bug #10829.
This commit is contained in:
Colin Kuskie 2009-08-26 18:40:20 +00:00
parent 13cceb9c1a
commit 39550d399f
2 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,5 @@
7.7.19
- fixed #10829: Extra field in Poll Property tab
- refactored out JSON collateral module, to use with any module in WebGUI.
- fixed #10825: Text and MediumText fields should be LongText
- fixed #10808: Ask user about using rich edit option causes error in IE6

View file

@ -177,13 +177,14 @@ sub definition {
fieldType=>"hidden",
defaultValue=>undef,
},
generateGraph=>{
fieldType=>"yesNo",
defaultValue=>0,
},
}
});
return $class->SUPER::definition($session, $definition);
generateGraph => {
fieldType => "yesNo",
defaultValue => 0,
autoGenerate => 0,
},
}
});
return $class->SUPER::definition($session, $definition);
}
#-------------------------------------------------------------------