We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25cdc28 commit a3119faCopy full SHA for a3119fa
1 file changed
static/secretariat/js/utils.js
@@ -211,8 +211,8 @@ $(document).ready(function() {
211
minLength: 3,
212
select: function(event, ui) {
213
//match number inside paren and then strip paren
214
- id = ui.item.label.match(/\(\d+\)/);
215
- val = id[0].replace(/[\(\)]/g, "");
+ var id = ui.item.label.match(/\(\d+\)/);
+ var val = id[0].replace(/[\(\)]/g, "");
216
//alert(id,val);
217
//alert(id.match(/\d+/));
218
$.getJSON('/secr/areas/getemails/',{"id":val},function(data) {
0 commit comments