[Mobile] BackArrow
Removed the BackArrow console log that was getting called in the BrowseController.
This commit is contained in:
@@ -145,18 +145,15 @@ define(
|
|||||||
} else {
|
} else {
|
||||||
$scope.atRoot = true;
|
$scope.atRoot = true;
|
||||||
}
|
}
|
||||||
console.log($scope.atRoot);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkRoot() {
|
function checkRoot() {
|
||||||
var parent = navigationService.getNavigation().getCapability('context').getParent(),
|
var parent = navigationService.getNavigation().getCapability('context').getParent();
|
||||||
grandparent;
|
|
||||||
if (parent.getId() !== ROOT_ID) {
|
if (parent.getId() !== ROOT_ID) {
|
||||||
$scope.atRoot = false;
|
$scope.atRoot = false;
|
||||||
} else {
|
} else {
|
||||||
$scope.atRoot = true;
|
$scope.atRoot = true;
|
||||||
}
|
}
|
||||||
console.log($scope.atRoot);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load the root object, put it in the scope.
|
// Load the root object, put it in the scope.
|
||||||
|
|||||||
Reference in New Issue
Block a user