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

Commit 79910e8

Browse files
committed
Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI #73 #74
1 parent 0e59f01 commit 79910e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Changelog of Pull Request Notifier for Stash.
44

55
## 1.31
6+
* Bugfix: Saving with checked checkboxes RESCOPED_FROM/TO and BUTTON_TRIGGER was not reflected in GUI.
67
* Bugfix: Avoiding admin page to crash if entering quote as value of a field.
78

89
## 1.30

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 = $(".prnfs-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)