From 83db311b188721f871c0520f340ad9e0483c3870 Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sat, 29 Oct 2011 22:05:24 +0000 Subject: [PATCH] Issue 473 - Fix cancel button for project creation import phase git-svn-id: http://google-refine.googlecode.com/svn/trunk@2350 7d457c2a-affb-35e4-300a-418c747d4874 --- .../scripts/index/default-importing-controller/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/scripts/index/default-importing-controller/controller.js b/main/webapp/modules/core/scripts/index/default-importing-controller/controller.js index 497752e02..d198b2569 100644 --- a/main/webapp/modules/core/scripts/index/default-importing-controller/controller.js +++ b/main/webapp/modules/core/scripts/index/default-importing-controller/controller.js @@ -314,7 +314,7 @@ Refine.DefaultImportingController.prototype._createProject = function() { window.clearInterval(timerID); // explicitly cancel the import job - $.post("/command/core/cancel-importing-job?" + $.param({ "jobID": jobID })); + Refine.CreateProjectUI.cancelImportinJob(self._jobID); self._createProjectUI.showSourceSelectionPanel(); });