mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
do not call checkForm() if document wasn't modified
This commit is contained in:
parent
f2b091cb83
commit
14b30ce48f
|
@ -567,9 +567,10 @@ $(document).ready( function() {
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
} else {
|
} 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="hidden" name="documentid" value="<?php print $document->getID(); ?>">
|
||||||
<input type="submit" class="btn" value="<?php printMLText("reset_checkout"); ?>">
|
<input type="submit" class="btn" value="<?php printMLText("reset_checkout"); ?>">
|
||||||
|
</form>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
$this->contentEnd();
|
$this->contentEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user