Browse Source

Fixes a bug with #35.

* nulls work in mysql query which allows for unusual sitations to work
devel
Jonathan Rosenbaum 6 years ago
parent
commit
3be493fc62
  1. 4
      js/transaction.js

4
js/transaction.js

@ -165,7 +165,7 @@ $(function() {
last_index = last_index - 1; last_index = last_index - 1;
$.each($("td a[href*='individual_history']"), function(index) { $.each($("td a[href*='individual_history']"), function(index) {
if (this.href.match(/\d+$/)) { if (this.href.match(/\d*$/)) {
var id = this.href.match(/\d+$/); var id = this.href.match(/\d+$/);
@ -180,7 +180,7 @@ $(function() {
volunteer_ids += "contacts.contact_id=" + id + " OR "; volunteer_ids += "contacts.contact_id=" + id + " OR ";
} }
} }
}); });
} }

Loading…
Cancel
Save