[Search] Input checks

More checks to see if the input is empty
before doing search computations.
This commit is contained in:
slhale
2015-08-11 13:08:58 -07:00
parent a48a0820ad
commit 11a45e4db0
3 changed files with 27 additions and 19 deletions

View File

@ -40,7 +40,9 @@ define(function () {
var inputText = $scope.ngModel.input;
// We are starting to load.
loading = true;
if (inputText !== '' && inputText !== undefined) {
loading = true;
}
// Update whether the file tree should be displayed
// Hide tree only when starting search