fix issue #540 to skip the empty URL when submit the import form
This commit is contained in:
parent
75ec34ea93
commit
e789002368
@ -73,6 +73,11 @@ Refine.DefaultImportingController.prototype._startOver = function() {
|
|||||||
|
|
||||||
Refine.DefaultImportingController.prototype.startImportJob = function(form, progressMessage, callback) {
|
Refine.DefaultImportingController.prototype.startImportJob = function(form, progressMessage, callback) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
|
$(form).find('input:text').filter(function() {
|
||||||
|
return this.value === "";
|
||||||
|
}).attr("disabled", "disabled");
|
||||||
|
|
||||||
$.post(
|
$.post(
|
||||||
"command/core/create-importing-job",
|
"command/core/create-importing-job",
|
||||||
null,
|
null,
|
||||||
|
Loading…
Reference in New Issue
Block a user