fix issue #540 to skip the empty URL when submit the import form

This commit is contained in:
Jacky 2015-05-05 16:38:25 -04:00
parent 75ec34ea93
commit e789002368

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,