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

Commit 1d8c714

Browse files
committed
Valid JSON in BUTTON_FORM_DATA #173
* Quotes were escaped with slashes.
1 parent f7a07df commit 1d8c714

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@
33
Changelog of Pull Request Notifier for Bitbucket.
44

55
## Unreleased
6+
### GitHub [#173](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/pull/173) Add the ability to specify forms for buttons
7+
Valid JSON in BUTTON_FORM_DATA
8+
9+
* Quotes were escaped with slashes.
10+
11+
[23680b44f0c2dd7](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/23680b44f0c2dd7) Tomas Bjerre *2016-12-27 09:44:28*
12+
613
### No issue
714
Doc
815

9-
[7e6a120b07de7df](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/7e6a120b07de7df) Tomas Bjerre *2016-12-27 08:15:48*
16+
[eae3578be0763bc](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/eae3578be0763bc) Tomas Bjerre *2016-12-27 08:16:06*
1017

1118
## 2.44
1219
### GitHub [#173](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/pull/173) Add the ability to specify forms for buttons

src/main/resources/pr-triggerbutton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ define('plugin/prnfb/pr-triggerbutton', [
270270
e.preventDefault();
271271
dialogRef.hide();
272272

273-
submitButton(JSON.stringify(formResult));
273+
submitButton(formResult);
274274
});
275275
AJS.$("#dialog-close-button").click(function(e) {
276276
e.preventDefault();

0 commit comments

Comments
 (0)