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

Commit

Permalink
Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER wa…
Browse files Browse the repository at this point in the history
…s not reflected in GUI #73 #74
  • Loading branch information
tomasbjerre committed Oct 9, 2015
1 parent 65c7f16 commit 8884fb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Changelog of Pull Request Notifier for Bitbucket.

## 2.5
* Bugfix: Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI.

## 2.5
* Bugfix: Avoiding admin page to crash if entering quote as value of a field.

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
var $template = $(".prnfb-template-"+formType).clone();

$.each(config, function(fieldIndex,field_map) {
var safe_value = field_map.value.replace(/[^a-zA-Z]/g,'');
var safe_value = field_map.value.replace(/[^a-zA-Z\_]/g,'');
$('.variable[data-variable="'+field_map.name+'"]', $template).html(field_map.value);
$('input[type="text"][name="'+field_map.name+'"]', $template).attr('value', field_map.value);
$('input[type="password"][name="'+field_map.name+'"]', $template).attr('value', field_map.value);
Expand Down

0 comments on commit 8884fb0

Please sign in to comment.