Skip to content

Commit a3119fa

Browse files
committed
Fix missing var statements in JS file
- Legacy-Id: 8267
1 parent 25cdc28 commit a3119fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/secretariat/js/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ $(document).ready(function() {
211211
minLength: 3,
212212
select: function(event, ui) {
213213
//match number inside paren and then strip paren
214-
id = ui.item.label.match(/\(\d+\)/);
215-
val = id[0].replace(/[\(\)]/g, "");
214+
var id = ui.item.label.match(/\(\d+\)/);
215+
var val = id[0].replace(/[\(\)]/g, "");
216216
//alert(id,val);
217217
//alert(id.match(/\d+/));
218218
$.getJSON('/secr/areas/getemails/',{"id":val},function(data) {

0 commit comments

Comments
 (0)