mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Search helper now knows how to turn 'loading' message on at first page load.
This commit is contained in:
parent
98c56827db
commit
b66ddfc155
@ -451,7 +451,7 @@ angular.module('SearchHelper', ['RestServices', 'Utilities', 'RefreshHelper'])
|
||||
*/
|
||||
scope.search = function (iterator, page, load, calcOnly) {
|
||||
page = page || null;
|
||||
load = (load) ? true : false;
|
||||
load = (load || !scope.set || scope.set.length === 0) ? true : false;
|
||||
calcOnly = (calcOnly) ? true : false;
|
||||
if (load) {
|
||||
scope[set] = []; //clear the list array to make sure 'Loading' is the only thing visible on the list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user