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

Commit

Permalink
Valid JSON in BUTTON_FORM_DATA #173
Browse files Browse the repository at this point in the history
 * Quotes were escaped with slashes.
  • Loading branch information
tomasbjerre committed Dec 27, 2016
1 parent f7a07df commit 1d8c714
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
Changelog of Pull Request Notifier for Bitbucket.

## Unreleased
### GitHub [#173](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/pull/173) Add the ability to specify forms for buttons
Valid JSON in BUTTON_FORM_DATA

* Quotes were escaped with slashes.

[23680b44f0c2dd7](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/commit/23680b44f0c2dd7) Tomas Bjerre *2016-12-27 09:44:28*

### No issue
Doc

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

## 2.44
### GitHub [#173](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/pull/173) Add the ability to specify forms for buttons
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/pr-triggerbutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ define('plugin/prnfb/pr-triggerbutton', [
e.preventDefault();
dialogRef.hide();

submitButton(JSON.stringify(formResult));
submitButton(formResult);
});
AJS.$("#dialog-close-button").click(function(e) {
e.preventDefault();
Expand Down

0 comments on commit 1d8c714

Please sign in to comment.