Go to Content >> Categories.
Make sure you have a category and then check the checkbox.
Click batch icon.
You see a popup with broken styling.
com_content (Article Manager Popup is fine)
Joomla! 4.0.0-alpha4
Labels |
Added:
?
|
Title |
|
Labels |
Added:
J4 Issue
|
Category | ⇒ | com_categories Layout |
Status | New | ⇒ | Confirmed |
After patching a bit /administrator/components/com_categories/tmpl/categories/default_batch_body.php
In fact some styling is also broken elsewhere (batch menu items and also batch articles, but not as bad),
That can be solved a bit as shown above (as back-end template is WIP, I wonder if it is worht it), but remains the fact that if choosing a category or menu item (for all batches) the "Do you want to move the items or make a copy of them? " is always displayed while it should only display for example when a category has been chosen.
See 3.8.x to see the correct behavior.
Ir goes from style="display: none;"
to style="display: block;"
@dgrammatiko
Display or not of the batch-copy-move
id depends on
/build/media_src/layouts/joomla/html/batch/batch-WHATEVER.es6.js
(test here with Firefox)
Can you do something?
We can also use the API and use in the default_batch_body.php this shorther code
<?php if ($published >= 0) : ?>
<div class="form-group col-md-6">
<div class="controls">
<?php echo JLayoutHelper::render('joomla.html.batch.item', array('extension' => $extension)); ?>
</div>
</div>
<?php endif; ?>
But we still have the issue with js.
@infograf768 it's a simple fix I'll do a PR later on
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-18 17:25:43 |
Closed_By | ⇒ | infograf768 |
I should say, Thank you to everyone involved.
Issue confirmed, thanks for Report.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21473.