Skip to content
Snippets Groups Projects
Commit a9f90f54 authored by Frédéric Escudié's avatar Frédéric Escudié
Browse files

Fix bug when change a selected upload file in server or url file.

parent 895c4f00
No related branches found
No related tags found
No related merge requests found
......@@ -308,6 +308,9 @@ jQuery.validator.addMethod("exclude_required", function(value, element, options)
} else {
$("#urlfile_btn_"+tid).hide();
$("#"+tid).prop('readonly', false);
if ($("#"+tid).data("data2upload")) {
$("#"+tid).removeData( "data2upload" );
}
}
});
$("[id^=urlfile_btn_]").click(function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment