Update gallery.js

This commit is contained in:
chiu 2019-10-30 22:34:41 +08:00
parent 03510c38da
commit 86aacba3b6
1 changed files with 25 additions and 23 deletions

View File

@ -16,6 +16,7 @@ function form_submit() {
var length_upload var length_upload
var count_upload var count_upload
var send_start var send_start
if (temp_length>1){
$( 'form#fileupload' ).ajaxSuccess(function() { $( 'form#fileupload' ).ajaxSuccess(function() {
if (typeof length_upload == "undefined"){ if (typeof length_upload == "undefined"){
count_upload = 1 count_upload = 1
@ -40,6 +41,7 @@ function form_submit() {
} }
}); });
} }
}
function form_only_one_submit() { function form_only_one_submit() {
var temp_length = 1 var temp_length = 1
$.ajax({ $.ajax({