This commit is contained in:
Audrius Butkevicius committed 2015-04-07 14:24:34 +01:00
1 parent ab25cd09ed
commit 68ff4f3842
5 files changed
+13 -10

No files matched your search

@@ -8,7 +8,7 @@ angular.module('syncthing.core')
// we shouldn't validate
ctrl.$setValidity('validDeviceid', true);
} else {
$http.get(urlbase + '/deviceid?id=' + viewValue).success(function (resp) {
$http.get(urlbase + '/svc/deviceid?id=' + viewValue).success(function (resp) {
if (resp.error) {
ctrl.$setValidity('validDeviceid', false);
} else {