Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] administrator module edit. Dropdown Save&Close fails when module User Status deactivated #24911

Closed
ReLater opened this issue May 15, 2019 · 4 comments

Comments

@ReLater
Copy link
Contributor

ReLater commented May 15, 2019

Steps to reproduce the issue

  • Backend
  • Go to modules > Administrator modules.
  • Deactivate all modules of type "User Status".
  • Open module "Title" of Type "Title" (many others have the same problem but type "Custom")
  • Click on button Save & Close to open dropdown submenu.

Expected result

  • Dropdown opens.
    15-05-_2019_11-29-02

Actual result

  • Dropdown doesn't open. Can't select "Save and Copy" etc.

Additional comments

  • I think it's missing JQuery and/or bootstrap(?) that is loaded by module "User Status" with following line:
    HTMLHelper::_('bootstrap.framework');
@infograf768
Copy link
Member

Confirmed.
Are missing

<script src="/installmulti/joomla40/media/vendor/jquery/js/jquery.min.js?3.4.1"></script>
<script src="/installmulti/joomla40/media/vendor/bootstrap/js/bootstrap.bundle.min.js?4.3.1"></script>

@infograf768
Copy link
Member

Issue can be solved by adding
HTMLHelper::_('bootstrap.framework');
in
/administrator/components/com_modules/tmpl/module/edit.php

@ReLater
Copy link
Contributor Author

ReLater commented May 16, 2019

I'll provide a pr.

@ghost
Copy link

ghost commented May 16, 2019

Closed as having Pull Request #24921

@ghost ghost closed this as completed May 16, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants