Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
minor fix to pass in fname if one present for inHome function
Browse files Browse the repository at this point in the history
  • Loading branch information
timlevett committed Dec 28, 2015
1 parent 7967e33 commit 502b968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/markdown/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ All params are prefixed with `app-`.

## Frame Page

Frame page is basically the app header directive but with a transcude for the body. It **Inherits** all of the app-header directive parameters.
Frame page is basically the app header directive but with a transclude for the body. It **Inherits** all of the app-header directive parameters.

#### Template :

Expand Down
2 changes: 1 addition & 1 deletion uw-frame-components/portal/misc/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define(['angular'], function(angular) {
$scope.inHome = true;
if(PortalAddToHomeService.canAddToHome($scope.fname)) {
//check if in home layout
PortalAddToHomeService.inHome().then(function(data){
PortalAddToHomeService.inHome($scope.fname).then(function(data){
$scope.inHome = data;
});
}
Expand Down

0 comments on commit 502b968

Please sign in to comment.