aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-06-28 10:02:41 +0500
committerAbyss777 <abyss@fox5.ru>2018-06-28 10:02:41 +0500
commit8e69514733aace4690a9e80a6dd5158d625a66e2 (patch)
treeb22c3a7f6acbc2bc28eafdae69f066cbd1ad9649 /web/app/view
parentdf0ad229b96a036aaf98bcb8315d69d1bdb7367a (diff)
downloadetbsa-traccar-web-8e69514733aace4690a9e80a6dd5158d625a66e2.tar.gz
etbsa-traccar-web-8e69514733aace4690a9e80a6dd5158d625a66e2.tar.bz2
etbsa-traccar-web-8e69514733aace4690a9e80a6dd5158d625a66e2.zip
- Make strings more laconic
- Make ArrayListFilter consistent
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ArrayListFilter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/ArrayListFilter.js b/web/app/view/ArrayListFilter.js
index e8d1c13..519096e 100644
--- a/web/app/view/ArrayListFilter.js
+++ b/web/app/view/ArrayListFilter.js
@@ -34,7 +34,7 @@ Ext.define('Traccar.view.ArrayListFilter', {
return true;
}
}
- } else if (property.indexOf(',') !== -1) {
+ } else if (property.match(/[ ,]+/)) {
splits = property.split(/[ ,]+/).filter(Boolean);
for (i = 0; i < splits.length; i++) {
if (value.indexOf(splits[i]) !== -1) {