mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
bbb3378f28
commit
8855814b5a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user