提交作业时若作品名称和作品描述为空,则不弹出作品校验弹框
This commit is contained in:
parent
71e98c873d
commit
b46561dac1
|
@ -62,10 +62,13 @@
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function popupRegex(){
|
function popupRegex(){
|
||||||
$('#ajax-modal').html("<div><p align='center' style='margin-top: 35px'>作品信息完整性校验中,请稍等...</p></div>");
|
if(regexStudentWorkName()&®exStudentWorkDescription())
|
||||||
showModal('ajax-modal', '500px');
|
{
|
||||||
$('#ajax-modal').siblings().remove();
|
$('#ajax-modal').html("<div><p align='center' style='margin-top: 35px'>作品信息完整性校验中,请稍等...</p></div>");
|
||||||
$('#ajax-modal').parent().css("top","").css("left","");
|
showModal('ajax-modal', '500px');
|
||||||
$('#ajax-modal').parent().addClass("anonymos");
|
$('#ajax-modal').siblings().remove();
|
||||||
|
$('#ajax-modal').parent().css("top","").css("left","");
|
||||||
|
$('#ajax-modal').parent().addClass("anonymos");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
|
@ -121,10 +121,13 @@
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function popupRegex(){
|
function popupRegex(){
|
||||||
$('#ajax-modal').html("<div><p align='center' style='margin-top: 35px'>作品信息完整性校验中,请稍等...</p></div>");
|
if(regexStudentWorkName()&®exStudentWorkDescription())
|
||||||
showModal('ajax-modal', '500px');
|
{
|
||||||
$('#ajax-modal').siblings().remove();
|
$('#ajax-modal').html("<div><p align='center' style='margin-top: 35px'>作品信息完整性校验中,请稍等...</p></div>");
|
||||||
$('#ajax-modal').parent().css("top","").css("left","");
|
showModal('ajax-modal', '500px');
|
||||||
$('#ajax-modal').parent().addClass("anonymos");
|
$('#ajax-modal').siblings().remove();
|
||||||
|
$('#ajax-modal').parent().css("top","").css("left","");
|
||||||
|
$('#ajax-modal').parent().addClass("anonymos");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
Loading…
Reference in New Issue