Replace indexOf by inArray to workaround IE < 9 incompatibility
This commit is contained in:
parent
4443bcc3b8
commit
57c71520dd
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ function update_corporations(period_id) {
|
|||
options.push(this);
|
||||
sel.append($("<option />").val(this.id).text(this.corp_name));
|
||||
}
|
||||
if (domains.indexOf(this.domain) == -1) {
|
||||
if ($.inArray(this.domain, domains) < 0) {
|
||||
domains.push(this.domain);
|
||||
$('#corp_filter').append($("<option />").val(this.domain).text(this.domain));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue