News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Cancel button in edit.php with different style - [Fixed in 4.0.25]

Started by michpaule, 13.04.2023 13:50:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michpaule

Checked version: 4.0.24

The button on top (line 141):
<button type="button" class="btn btn-success" onclick="Joomla.submitbutton('download.cancel')">

The button on bottom (line 677):
<button type="button" class="btn" onclick="Joomla.submitbutton('download.cancel')">

How about refactoring the button code into a local function which could be called from both locations?
Best regards

Michael
  •  

Arno

Fixed in 4.0.25.
It is not planned to change currently here something.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •