-
-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into create-work
- Loading branch information
Showing
14 changed files
with
238 additions
and
111 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -281,20 +281,18 @@ var waitingStateActive = function() { | |
}; | ||
|
||
const notify_funder = (network, std_bounties_id, data) => { | ||
var request_url = '/actions/bounty/' + network + '/' + std_bounties_id + '/notify/funder_payout_reminder/'; | ||
var request_url = '/actions/bounty/' + network + '/' + std_bounties_id + '/notify/funder_payout_reminder/'; | ||
|
||
showBusyOverlay(); | ||
$.post(request_url, data).then(result => { | ||
hideBusyOverlay(); | ||
|
||
_alert({message: gettext('Sent payout reminder')}, 'success'); | ||
$('#notifyFunder a').addClass('disabled'); | ||
return true; | ||
}).fail(result => { | ||
hideBusyOverlay(); | ||
|
||
_alert({ message: gettext('got an error. please try again, or contact [email protected]') }, 'error'); | ||
}); | ||
showBusyOverlay(); | ||
$.post(request_url, data).then(() => { | ||
hideBusyOverlay(); | ||
_alert({message: gettext('Sent payout reminder')}, 'success'); | ||
$('#notifyFunder a').addClass('disabled'); | ||
return true; | ||
}).fail(() => { | ||
hideBusyOverlay(); | ||
_alert({ message: gettext('got an error. please try again, or contact [email protected]') }, 'error'); | ||
}); | ||
}; | ||
|
||
/** Add the current profile to the interested profiles list. */ | ||
|
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
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
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
Oops, something went wrong.