Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
Fix quest accept and quest reject buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
crookedneighbor committed Jul 22, 2015
1 parent cb606ad commit fff626f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/controllers/partyCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ habitrpg.controller('PartyCtrl',
function($scope, $rootScope) {
$scope.group = $rootScope.party;

$scope.questAccept = function(party) {
party.$questAccept();
}

$scope.questReject = function(party) {
party.$questReject();
}

$scope.questAbort = function(){
if(!confirm(window.env.t('sureAbort'))) return;
if(!confirm(window.env.t('doubleSureAbort'))) return;
Expand Down

0 comments on commit fff626f

Please sign in to comment.