Permalink
Browse files

API CHANGE Removed deprecated TableListField->ajax_refresh()

  • Loading branch information...
1 parent 1ba5e79 commit fa6142cba506d4df9f64e3546c902965b91bc04e @chillu chillu committed Mar 9, 2012
Showing with 0 additions and 16 deletions.
  1. +0 −16 forms/TableListField.php
@@ -1094,22 +1094,6 @@ function Utility() {
}
- /**
- * Returns the content of the TableListField as a piece of FormResponse javascript
- * @deprecated Please use the standard URL through Link() which gives you the FieldHolder as an HTML fragment.
- */
- function ajax_refresh() {
- Deprecation::notice('2.4', 'Please use the standard URL through Link() which gives you the FieldHolder as an HTML fragment instead.');
- // compute sourceItems here instead of Items() to ensure that
- // pagination and filters are respected on template accessors
- //$this->sourceItems();
-
- $response = $this->renderWith($this->template);
- FormResponse::update_dom_id($this->id(), $response, 1);
- FormResponse::set_non_ajax_content($response);
- return FormResponse::respond();
- }
-
function setFieldCasting($casting) {
$this->fieldCasting = $casting;
return $this;

0 comments on commit fa6142c

Please sign in to comment.