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

Commit 8884fb0

Browse files
committed
Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI #73 #74
1 parent 65c7f16 commit 8884fb0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
Changelog of Pull Request Notifier for Bitbucket.
44

5+
## 2.5
6+
* Bugfix: Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI.
7+
58
## 2.5
69
* Bugfix: Avoiding admin page to crash if entering quote as value of a field.
710

src/main/resources/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
var $template = $(".prnfb-template-"+formType).clone();
115115

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

0 commit comments

Comments
 (0)