Skip to content

Commit

Permalink
#123 whoops, butter fingers!
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed May 23, 2013
1 parent 2380731 commit fda9492
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions hawtio-web/src/main/webapp/app/wiki/js/camelCanvas.ts
Expand Up @@ -79,6 +79,7 @@ module Wiki {
goToView();
Core.$apply($scope);
});
}
}
}
};
Expand All @@ -93,16 +94,16 @@ module Wiki {

function goToView() {
// TODO lets navigate to the view if we have a separate view one day :)
/*
if ($scope.breadcrumbs && $scope.breadcrumbs.length > 1) {
var viewLink = $scope.breadcrumbs[$scope.breadcrumbs.length - 2];
console.log("goToView has found view " + viewLink);
var path = Core.trimLeading(viewLink, "#");
$location.path(path);
} else {
console.log("goToView has no breadcrumbs!");
}
*/
/*
if ($scope.breadcrumbs && $scope.breadcrumbs.length > 1) {
var viewLink = $scope.breadcrumbs[$scope.breadcrumbs.length - 2];
console.log("goToView has found view " + viewLink);
var path = Core.trimLeading(viewLink, "#");
$location.path(path);
} else {
console.log("goToView has no breadcrumbs!");
}
*/
}

function addNewNode(nodeModel) {
Expand Down Expand Up @@ -375,7 +376,6 @@ module Wiki {
$scope.propertiesTemplate = "app/wiki/html/camelPropertiesEdit.html";
}
}

}

function getWidth() {
Expand Down

0 comments on commit fda9492

Please sign in to comment.