From fbbd75cdceed64c89a00e788ef9d55e94ffd4ee1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 11 Jun 2014 16:25:39 +0800 Subject: [PATCH] fixed a little bug in import pages javascript --- app/views/admin/import/index.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/admin/import/index.html.erb b/app/views/admin/import/index.html.erb index eff590c..16209c6 100644 --- a/app/views/admin/import/index.html.erb +++ b/app/views/admin/import/index.html.erb @@ -212,6 +212,9 @@ if(status.total_pages != status.current_status){ setTimeout("startCheckingImportStatus()",700); }else{ + if(status.total_pages == null){ + setTimeout("startCheckingImportStatus()",700); + } $("#import-progress-text").html("Finished importing pages.
"); } }else if(status.success == false){