Skip to content

Commit

Permalink
Swipe-right restrict access to Check-in from Encounters page
Browse files Browse the repository at this point in the history
  • Loading branch information
alanchow01 committed Mar 20, 2016
1 parent 352b3a9 commit 2401370
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/encounters/encountersctrl.js
Expand Up @@ -22,6 +22,10 @@
event.preventDefault();
$state.go('report');
};
$scope.preventBackCheckin = function(event) {
event.preventDefault();
$window.alert('Oops! You\'ve already logged in.');
};
}

})();

0 comments on commit 2401370

Please sign in to comment.