fix operator bug
This commit is contained in:
parent
e549b7e3ae
commit
c8dd72d151
|
@ -93,8 +93,8 @@
|
||||||
contexts[i].callback = function (response) {
|
contexts[i].callback = function (response) {
|
||||||
results.push(response);
|
results.push(response);
|
||||||
|
|
||||||
hasSuccess = hasSuccess | response.success;
|
hasSuccess = hasSuccess || response.success;
|
||||||
hasError = hasError | !response.success;
|
hasError = hasError || !response.success;
|
||||||
};
|
};
|
||||||
|
|
||||||
promises.push(methodFunc(contexts[i]));
|
promises.push(methodFunc(contexts[i]));
|
||||||
|
|
|
@ -811,8 +811,8 @@
|
||||||
silent: !!silent,
|
silent: !!silent,
|
||||||
callback: function (response) {
|
callback: function (response) {
|
||||||
ariaNgCommonService.pushArrayTo(results, response.results);
|
ariaNgCommonService.pushArrayTo(results, response.results);
|
||||||
hasSuccess = hasSuccess | response.hasSuccess;
|
hasSuccess = hasSuccess || response.hasSuccess;
|
||||||
hasError = hasError | response.hasError;
|
hasError = hasError || response.hasError;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
@ -823,8 +823,8 @@
|
||||||
silent: !!silent,
|
silent: !!silent,
|
||||||
callback: function (response) {
|
callback: function (response) {
|
||||||
ariaNgCommonService.pushArrayTo(results, response.results);
|
ariaNgCommonService.pushArrayTo(results, response.results);
|
||||||
hasSuccess = hasSuccess | response.hasSuccess;
|
hasSuccess = hasSuccess || response.hasSuccess;
|
||||||
hasError = hasError | response.hasError;
|
hasError = hasError || response.hasError;
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue