use formSubmit() instead of plain html for submit button

This commit is contained in:
Uwe Steinmann 2022-12-10 13:05:22 +01:00
parent 1e178fb1c3
commit c31250089e

View File

@ -320,7 +320,7 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Theme_Style {
<form action="../op/op.ExtensionMgr.php" name="form1" method="post"> <form action="../op/op.ExtensionMgr.php" name="form1" method="post">
<?php echo createHiddenFieldWithKey('extensionmgr'); ?> <?php echo createHiddenFieldWithKey('extensionmgr'); ?>
<input type="hidden" name="action" value="refresh" /> <input type="hidden" name="action" value="refresh" />
<p><button type="submit" class="btn btn-primary"><i class="fa fa-refresh"></i> <?php printMLText("refresh");?></button></p> <p><?php $this->formSubmit("<i class=\"fa fa-refresh\"></i> " . getMLText('refresh'));?></p>
</form> </form>
</div> </div>
@ -374,7 +374,7 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Theme_Style {
<input type="hidden" name="action" value="getlist" /> <input type="hidden" name="action" value="getlist" />
<input type="hidden" name="currenttab" value="repository" /> <input type="hidden" name="currenttab" value="repository" />
<input type="hidden" name="forceupdate" value="1" /> <input type="hidden" name="forceupdate" value="1" />
<button type="submit" class="btn btn-primary"><i class="fa fa-refresh"></i> <?= getMLText('force_update')?></button> <?php $this->formSubmit("<i class=\"fa fa-refresh\"></i> " . getMLText('force_update'));?>
</form> </form>
</div> </div>
</div> </div>