Merge pull request #996 from ariponce/patch-1

Fix relation controller JS issue on Chrome
This commit is contained in:
Samuel Georges 2015-03-10 19:53:42 +11:00
commit 66508a2771
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()
);