// Improving admin list action "details"
This commit is contained in:
@@ -318,15 +318,23 @@ class HelperListCore extends Helper
|
||||
|
||||
|
||||
/**
|
||||
* Display action to see details of a table row
|
||||
* Display action show details of a table row
|
||||
* This action need an ajax request with a return like this:
|
||||
* {
|
||||
* use_parent_structure: true // If false, data need to be an html
|
||||
* data:
|
||||
* [
|
||||
* {field_name: 'value'}
|
||||
* ],
|
||||
* fields_display: // attribute $fieldsDisplay of the admin controller
|
||||
* }
|
||||
* or somethins like this:
|
||||
* {
|
||||
* use_parent_structure: false // If false, data need to be an html
|
||||
* data:
|
||||
* '<p>My html content</p>',
|
||||
* fields_display: // attribute $fieldsDisplay of the admin controller
|
||||
* }
|
||||
*/
|
||||
protected function _displayDetailsLink($token = null, $id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user