View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027242 | mantisbt | bugtracker | public | 2020-09-05 07:04 | 2021-03-07 18:29 |
Reporter | dregad | Assigned To | dregad | ||
Priority | low | Severity | tweak | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 2.25.0 | Fixed in Version | 2.25.0 | ||
Summary | 0027242: Allow printing of standard confirmation alerts without buttons | ||||
Description | HTML API provides functions to print alerts (success / warning / failure), plus a generic one, html_operation_confirmation() allowing more flexibility in the alert's format by providing a list of action buttons to display. However, there is no way to print a simple alert without buttons. | ||||
Additional Information | I needed this for a plugin. | ||||
Tags | No tags attached. | ||||
MantisBT: master 3c840478 2020-09-05 02:55 Details Diff |
Allow confirmation messages without buttons html_operation_confirmation() $p_buttons param can now be null or an empty array, in which case the function will only print the alert message text, without action buttons. Fixes 0027242 |
Affected Issues 0027242 |
|
mod - core/html_api.php | Diff File |