diff --git a/module/doc/js/edit.js b/module/doc/js/edit.js index 525da538a0..39e5b0b754 100644 --- a/module/doc/js/edit.js +++ b/module/doc/js/edit.js @@ -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() { diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php index c08a6bedd9..bdb1d248ad 100644 --- a/module/doc/view/edit.html.php +++ b/module/doc/view/edit.html.php @@ -21,6 +21,7 @@ createLink('doc', 'view', "docID=$doc->id"), $doc->title, '', "title='$doc->title'");?> arrow . ' ' . $lang->doc->edit;?> +
save, '', 'id="top-submit" class="btn btn-primary"');?>