Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Commit 60c8446

Browse files
committed
Correcting deletion of buttons on repo level #130
1 parent 067014d commit 60c8446

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ Changelog of Pull Request Notifier for Bitbucket.
88

99
* Did not correctly check for repo level admin privilegies.
1010

11-
[7404bb4bb5016c7](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/7404bb4bb5016c7) Tomas Bjerre *2016-07-05 20:31:25*
11+
[067014dcc6988f2](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/067014dcc6988f2) Tomas Bjerre *2016-07-05 20:33:49*
12+
13+
### GitHub [#130](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/issues/130) Cannot delete Buttons or Notifications
14+
Correcting deletion of buttons on repo level
15+
16+
[3ae702f86765ec4](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/3ae702f86765ec4) Tomas Bjerre *2016-07-06 04:44:14*
1217

1318
## 2.28
1419
### No issue

src/main/resources/pr-triggerbutton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ define('plugin/prnfb/pr-triggerbutton', [
44
'bitbucket/util/state'
55
], function($, AJS, pageState) {
66

7-
var buttonsAdminUrl = AJS.contextPath() + "/rest/prnfb-admin/1.0/settings/buttons"; 
7+
var buttonsAdminUrl = AJS.contextPath() + "/rest/prnfb-admin/1.0/settings/buttons";
88

99
var waiting = '<span class="aui-icon aui-icon-wait aui-icon-small">Wait</span>';
1010

src/main/resources/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ define('plugin/prnfb/utils', [
232232
var uuid = $(formSelector).find('[name=uuid]').val();
233233
if (uuid) {
234234
$.ajax({
235-
url: restResource + '/' + uuid,
235+
url: postUrl + '/' + uuid,
236236
type: 'DELETE',
237237
success: function(result) {
238238
populateSelect();

0 commit comments

Comments
 (0)