* Finish task #5342.

This commit is contained in:
Yagami
2019-03-19 16:59:36 +08:00
parent e744972592
commit 48bb8fea4e
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
$(function()
{
$('#top-submit').click(function()
{
$(this).addClass('disabled');
$('form').submit();
})
toggleAcl($('input[name="acl"]:checked').val(), 'doc');
$('input[name="type"]').change(function()
{
+1
View File
@@ -21,6 +21,7 @@
<?php echo html::a($this->createLink('doc', 'view', "docID=$doc->id"), $doc->title, '', "title='$doc->title'");?>
<small> <?php echo $lang->arrow . ' ' . $lang->doc->edit;?></small>
</h2>
<div class='pull-right'><?php echo html::a('###', $lang->save, '', 'id="top-submit" class="btn btn-primary"');?></div>
</div>
<form class='load-indicator main-form form-ajax' method='post' enctype='multipart/form-data' id='dataform'>
<table class='table table-form'>