Merge pull request #1000 from RefinePro/issue-540

fix issue #540 to skip the empty URL when submit the import form
This commit is contained in:
magdmartin 2015-09-20 09:29:42 -04:00
commit 425ef87de5

View File

@ -73,6 +73,11 @@ Refine.DefaultImportingController.prototype._startOver = function() {
Refine.DefaultImportingController.prototype.startImportJob = function(form, progressMessage, callback) {
var self = this;
$(form).find('input:text').filter(function() {
return this.value === "";
}).attr("disabled", "disabled");
$.post(
"command/core/create-importing-job",
null,