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