mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03:30
Search helper now knows how to turn 'loading' message on at first page load.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user