code refactor
This commit is contained in:
parent
c8dd72d151
commit
0b3d86eac2
|
@ -829,7 +829,7 @@
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $q.all(promises).then(function () {
|
return $q.all(promises).then(function onSuccess() {
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback({
|
callback({
|
||||||
hasSuccess: !!hasSuccess,
|
hasSuccess: !!hasSuccess,
|
||||||
|
|
Reference in a new issue