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:
Ariel Ponce 2015-03-10 09:50:12 +01:00
parent c6bfd5d01c
commit ff4e221c6a
1 changed files with 1 additions and 1 deletions

View File

@ -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()
);