Skip to content

Commit

Permalink
fix strict di #90
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed May 15, 2018
1 parent ec7a620 commit fba2b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngrest/aw/CallbackButtonFileDownloadWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class CallbackButtonFileDownloadWidget extends CallbackButtonWidget
/**
* @inheritdoc
*/
public $angularCallbackFunction = 'function($response, $scope) { $scope.linkHref = $response.url; $scope.linkHrefHidden = false; $scope.buttonHidden = true; };';
public $angularCallbackFunction = '[\'$response\', \'$scope\', function($response, $scope) { $scope.linkHref = $response.url; $scope.linkHrefHidden = false; $scope.buttonHidden = true; }];';

/**
* @inheritdoc
Expand Down

0 comments on commit fba2b52

Please sign in to comment.