Commit 2292c330 by doszhang

dos

parent 5d6de3d7
......@@ -121,6 +121,11 @@ function checkInfo() {
my_notify('业务号填写有误');
return false;
}
if ($('input[name=btn-upload]').val() == '') {
$('#notification_area').remove();
my_notify('请上传头像');
return false;
}
createPoster(name, business);
}
......@@ -319,7 +324,6 @@ function RandomNumBoth(Min, Max, exclude = '') {
}
function checkIt(bind, maxNum) {
if (agreeSuggestion) {
var v = document.getElementById(bind).value;
if (v == "") {
return [];
......@@ -342,7 +346,4 @@ function checkIt(bind, maxNum) {
}
}
}
} else {
$("#" + bind).val('');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment