You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ar...@apache.org on 2016/08/15 12:27:00 UTC

lucene-solr:master: SOLR-8993: Refresh status after we get handlers

Repository: lucene-solr
Updated Branches:
  refs/heads/master 6dd228c11 -> 1dd50d074


SOLR-8993: Refresh status after we get handlers


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1dd50d07
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1dd50d07
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1dd50d07

Branch: refs/heads/master
Commit: 1dd50d0747d5876309e8de76cc3981257850c5f5
Parents: 6dd228c
Author: Alexandre Rafalovitch <ar...@apache.org>
Authored: Mon Aug 15 22:25:18 2016 +1000
Committer: Alexandre Rafalovitch <ar...@apache.org>
Committed: Mon Aug 15 22:25:18 2016 +1000

----------------------------------------------------------------------
 solr/webapp/web/js/angular/controllers/dataimport.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1dd50d07/solr/webapp/web/js/angular/controllers/dataimport.js
----------------------------------------------------------------------
diff --git a/solr/webapp/web/js/angular/controllers/dataimport.js b/solr/webapp/web/js/angular/controllers/dataimport.js
index ce712ec..d8fbc4f 100644
--- a/solr/webapp/web/js/angular/controllers/dataimport.js
+++ b/solr/webapp/web/js/angular/controllers/dataimport.js
@@ -52,6 +52,7 @@ solrAdminApp.controller('DataImportController',
                         $('document > entity', xml).each(function (i, element) {
                             $scope.entities.push($(element).attr('name'));
                         });
+                        $scope.refreshStatus();
                     } catch (err) {
                         console.log(err);
                     }
@@ -59,8 +60,6 @@ solrAdminApp.controller('DataImportController',
             }
             $scope.lastUpdate = "unknown";
             $scope.lastUpdateUTC = "";
-
-            $scope.refreshStatus();
         };
 
         $scope.toggleDebug = function () {