User tests: Successful: Unsuccessful:
Pull Request for Issue #35394 .
data-bs-toggle not need here because onclick is used
use this short, inside one of component View::addToolbar()
$title = \JText::_('JTOOLBAR_BATCH');
$layout = new \JLayoutFile('joomla.toolbar.batch');
$dhtml = $layout->render(array('title' => $title));
\JToolbar::getInstance('toolbar')->appendButton('Custom', $dhtml, 'batch');
Click that button and watch in browser console for errors
You get "Illegal invocation" error
No error
Category | ⇒ | Layout |
I have tested this item
Status | New | ⇒ | Ready to Commit |
Labels |
Added:
?
|
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-08-29 19:24:24 |
Closed_By | ⇒ | Quy | |
Labels |
Added:
?
|
Thanks!
I have tested this item✅ successfully on 3dc7d86
Thanks !
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35417.