? ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
29 Aug 2021

Pull Request for Issue #35394 .

Summary of Changes

data-bs-toggle not need here because onclick is used

Testing Instructions

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

Actual result BEFORE applying this Pull Request

You get "Illegal invocation" error

Expected result AFTER applying this Pull Request

No error

avatar Fedik Fedik - open - 29 Aug 2021
avatar joomdonation joomdonation - test_item - 29 Aug 2021 - Tested successfully
avatar joomdonation
joomdonation - comment - 29 Aug 2021

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.

avatar Fedik Fedik - change - 29 Aug 2021
The description was changed
avatar Fedik Fedik - edited - 29 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 29 Aug 2021
Category Layout
avatar PhocaCz PhocaCz - test_item - 29 Aug 2021 - Tested successfully
avatar PhocaCz
PhocaCz - comment - 29 Aug 2021

I have tested this item successfully on 3dc7d86


img


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35417.

avatar Quy Quy - change - 29 Aug 2021
Status New Ready to Commit
Labels Added: ?
avatar Quy
Quy - comment - 29 Aug 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35417.

avatar Quy Quy - change - 29 Aug 2021
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: ?
avatar Quy Quy - close - 29 Aug 2021
avatar Quy Quy - merge - 29 Aug 2021
avatar Quy
Quy - comment - 29 Aug 2021

Thanks!

Add a Comment

Login with GitHub to post a comment