Last active
October 7, 2016 18:15
-
-
Save pbres/79e21ca292d76bd92ba64679e95e43c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clickItem(item) { | |
if (item.id == 2147483647){ | |
$location.path(item.editPath); | |
}else{ | |
$location.path($scope.entityType + '/' +$scope.entityType + '/edit/' +item.id); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment