Fix relation controller JS issue on Chrome
When loading a relation, an "Uncaught token :" javascript error is thrown when using Chrome, which makes the select all checkbox not to work and most of the JS on the page to fail.
This commit is contained in:
parent
c6bfd5d01c
commit
ff4e221c6a
|
|
@ -943,7 +943,7 @@ class RelationController extends ControllerBehavior
|
|||
$config->showCheckboxes = $this->getConfig('view[showCheckboxes]', !$this->readOnly);
|
||||
|
||||
$defaultOnClick = sprintf(
|
||||
"$.oc.relationBehavior.clickViewListRecord(:id, '%s', '%s')",
|
||||
"$.oc.relationBehavior.clickViewListRecord(':id', '%s', '%s')",
|
||||
$this->field,
|
||||
$this->relationGetSessionKey()
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue