do not call checkForm() if document wasn't modified

This commit is contained in:
Uwe Steinmann 2016-03-21 07:46:55 +01:00
parent f2b091cb83
commit 14b30ce48f

View File

@ -567,9 +567,10 @@ $(document).ready( function() {
$this->contentContainerEnd();
} else {
?>
<form action="../op/op.CheckInDocument.php" method="post" name="form1" onsubmit="return checkForm();">
<form action="../op/op.CheckInDocument.php" method="post">
<input type="hidden" name="documentid" value="<?php print $document->getID(); ?>">
<input type="submit" class="btn" value="<?php printMLText("reset_checkout"); ?>">
</form>
<?php
}
$this->contentEnd();