I realized that it worked - that’s how it is for someone else who might have a similar problem ...
The main problem was that these buttons were created dynamically, and AjaxUpload was not initially attached to the .live () call, so "click, move, click again, trigger."
AjaxUpload ( , ), .
, :
makeUpButton(("#upload-button-" + slideCount), slideCount);
AjaxUpload:
function makeUpButton(theButton, theId) {
new AjaxUpload(theButton, {
action: "./php/upload.php",
name: 'userfile',
autoSubmit: true,
onSubmit: function(file , ext) {
this.disable();
},
onComplete: function(file, response) {
this.enable();
$("#slide-" + theId).find(".movie-image").attr("src", baseImgPath + file);
$("#mImg" + theId).val(file);
}
});
}
, -, , .;)
.