main.js vs new file uploader
This commit is contained in:
parent
a19853dbe8
commit
e9e5ceaf90
@ -254,7 +254,7 @@ function dopost(form) {
|
||||
saved[document.location] = form.elements['body'].value;
|
||||
sessionStorage.body = JSON.stringify(saved);
|
||||
|
||||
return form.elements['body'].value != "" || form.elements['file'].value != "" || (form.elements.file_url && form.elements['file_url'].value != "");
|
||||
return form.elements['body'].value != "" || (form.elements['file'] && form.elements['file'].value != "") || (form.elements.file_url && form.elements['file_url'].value != "");
|
||||
}
|
||||
|
||||
function citeReply(id, with_link) {
|
||||
|
Loading…
Reference in New Issue
Block a user