API CHANGE: removed deprecated ajax_render() method from CTF

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93679 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2009-11-26 22:38:44 +00:00
parent bbb3378f28
commit 8855814b5a

View File

@ -319,18 +319,6 @@ JS;
return $this->addTitle ? $this->addTitle : parent::Title(); return $this->addTitle ? $this->addTitle : parent::Title();
} }
/**
* Returns the content of this formfield without surrounding layout. Triggered by Javascript
* to update content after a DetailForm-save-action.
*
* @deprecated Use the field link itself, instead - Form/fields/TableFieldName
* @return String
*/
function ajax_render() {
user_error("Deprecated; access the field's root link instead", E_USER_NOTICE);
return $this->renderWith($this->template);
}
/** /**
* Calculates the number of columns needed for colspans * Calculates the number of columns needed for colspans
* used in template * used in template