authentic-theme icon indicating copy to clipboard operation
authentic-theme copied to clipboard

Theme: Webmin API `ui_form_end` buttons not working

Open KramNotlimah opened this issue 10 years ago • 6 comments

I am writing a module for Virtualmin and I ran across an issue with the ui_form_end subroutine in the Webmin core API. If you open a popup window and use the popup_header instead of the ui_print_header the buttons all come out with a value="OK". In the original Virtualmin theme with the same code they came out with the correct values. When using the ui_print_header in the main windows the ui_form_end produces buttons fine in the original Virtualmin theme and in the Authentic Theme. It seems it is only an issue when using the popup_header with Authentic. I worked around the issue by just creating my own buttons but it would be nice to be able to use the API as advertised.

Mark

KramNotlimah avatar Aug 31 '16 00:08 KramNotlimah

Hi, Mark.

I will run tests a bit later and try fixing it upon next release.

iliaross avatar Aug 31 '16 06:08 iliaross

Thanks. That sounds great.

Mark

KramNotlimah avatar Aug 31 '16 16:08 KramNotlimah

Mark, where could I test it in VM or WM?

iliaross avatar Oct 16 '16 18:10 iliaross

Ahh, ok, got it! It will be fixed in 18.20.

iliaross avatar Oct 16 '16 18:10 iliaross

Version 18.20 is out, please upgrade.

iliaross avatar Oct 29 '16 20:10 iliaross

Thanks! I will get the update.

Mark

KramNotlimah avatar Oct 31 '16 15:10 KramNotlimah