mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
changed PureName() to Name() (see r40757)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43669 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ac60800802
commit
74f154fcda
@ -317,7 +317,10 @@ class Form extends ViewableData {
|
||||
return $this->class . '_' . str_replace('.','',$this->name);
|
||||
}
|
||||
|
||||
function PureName(){
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
function Name(){
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
|
@ -503,7 +503,7 @@ class TableField extends TableListField {
|
||||
// TODO doesn't automatically update validation when adding a row
|
||||
foreach($fields as $field) {
|
||||
//if the field type has some special specific specification for validation of itself
|
||||
$js .= $field->jsValidation($this->form->class."_".$this->form->PureName());
|
||||
$js .= $field->jsValidation($this->form->class."_".$this->form->Name());
|
||||
}
|
||||
|
||||
// TODO Implement custom requiredFields
|
||||
|
Loading…
x
Reference in New Issue
Block a user