projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accounts page enter button triggers edit on edit screen
[osm/UI.git]
/
skyquake
/
plugins
/
accounts
/
api
/
accounts.js
diff --git
a/skyquake/plugins/accounts/api/accounts.js
b/skyquake/plugins/accounts/api/accounts.js
index
215032b
..
ec74f51
100644
(file)
--- a/
skyquake/plugins/accounts/api/accounts.js
+++ b/
skyquake/plugins/accounts/api/accounts.js
@@
-42,7
+42,9
@@
Accounts.get = function(req) {
type: req.params.type
})
});
- })
+ }, function(reason) {
+ reject(reason);
+ })
} else {
getAll(req, resolve, reject);
}
@@
-66,6
+68,8
@@
Accounts.get = function(req) {
statusCode: 200,
data: ReturnData
});
+ }, function(reason) {
+ reject(reason);
})
}
}