Revision 4904
Added by walbridge about 15 years ago
entryForm.js | ||
---|---|---|
995 | 995 |
this.list_target = list_target; |
996 | 996 |
this.count = 0; |
997 | 997 |
this.id = 0; |
998 |
var ucount = document.getElementById("upCount"); |
|
998 | 999 |
var fcount = document.getElementById("fileCount"); |
999 | 1000 |
if (fcount.value > 0) { |
1000 | 1001 |
this.id = fcount.value; |
1002 |
} else { |
|
1003 |
// upCount contains pre-existing uploads, check this for editing existing packages |
|
1004 |
if (ucount.value > 0) { |
|
1005 |
this.id = ucount.value; |
|
1006 |
alert(this.id); |
|
1007 |
} |
|
1001 | 1008 |
} |
1002 | 1009 |
|
1003 | 1010 |
if (max) { |
Also available in: Unified diff
fix bug #3950, make additional uploads stick when modifying a document