aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/Application.js2
-rw-r--r--web/app/view/ArrayListFilter.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/Application.js b/web/app/Application.js
index fe92039..d0b6713 100644
--- a/web/app/Application.js
+++ b/web/app/Application.js
@@ -130,7 +130,7 @@ Ext.define('Traccar.Application', {
},
getNotificatorString: function (eventType) {
- var key = 'notification' + eventType.charAt(0).toUpperCase() + eventType.slice(1);
+ var key = 'notificator' + eventType.charAt(0).toUpperCase() + eventType.slice(1);
return Strings[key] || key;
},
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) {