Commit 6ce4691f authored by 喻春霖's avatar 喻春霖

fixed

parent a2bd2783
...@@ -61,13 +61,14 @@ ...@@ -61,13 +61,14 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var formSubmitUrl = "${successPostUrl}"; var formSubmitUrl = "${successPostUrl}";
if (formSubmitUrl || formSubmitUrl.length == 0){ if (formSubmitUrl && formSubmitUrl.length > 0){
$("#showMessage").show();
}else {
$(function(){ $(function(){
$("form").submit(); $("form").submit();
}); });
}else {
$("#showMessage").show();
} }
</script> </script>
......
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 to comment