-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Beez: Remove useless JS-Code related to btn-group #12029
Conversation
Since Beez doesn't implement btn-group and the classes used by btn-group the template.js is useless and can be removed.
Since one line was not for btn-group template.js is needed for this single line.
@Minei3oat I think it would be better if you add the missing css instead of removing the script |
Now the missing css is added. |
The Bootstrap code is in conflict with Beez3 (Look at the buttons when editing an article or module: https://github.com/joomla/joomla-cms/blob/staging/templates/beez3/css/personal.css#L145-L186). Since Beez3 sometimes didn't uses chosen and uses a very simple style, I'm thinking about removing |
@Minei3oat what is the status of this. If I read your last comment correctly there is more work to be done before it is ready for testing? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12029. |
Yes, that's right, there are is the problem with the buttons when editing an article. |
@Minei3oat Is this issue still relevant? Otherwise @nibra will look at it This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12029. |
This issue was never relevant. |
@Minei3oat so should this PR be closed? |
As there is still useless code, I propose to go back to the original intention of this PR and delete this code. |
@Minei3oat is this PR ready for Test? |
d6d6f75
to
69a186c
Compare
Now it should be ready for testing. |
thanks @Minei3oat |
@Minei3oat i have tested a little but have less Experience in Beez so it would help if you can instruct which Sample Sites to look easy for testing. |
As I explained above, the removed code was useless because the CSS-Classes are missing. I discovered this by viewing a form with If code-review counts as test, the best test would be to search the CSS-Classes added by the removed JS and see that they not exists. |
can you give me an Example of Form with
|
If you edit a module their is the possibility to change the status of the module (Published/Unpublished/Trashed). This is a |
Tested on an Article (Publish / Unpublish / ...) cause using Beez Icon on Module for "Edit" isn't shown. All works as without Patch but Source-Code looks same with- and without PR. |
The Article-View doesn't uses |
http://localhost:8888/3/index.php/en/park-blog/18-second-blog-post&template=beez3 doesn't change Template. |
Because there is no other parameter in the URL it must be a |
that works. But there is also no Icon on Module. |
This will result in the edit page of the module displayed with Beez as template. |
Due to unknown reasons Beez uses the class |
so how to Test this PR? |
As I stated above the code was useless. So I don't know how to test this PR. Imho there is the option to compare the functionality of some pages/ |
Hopefully there are 2 other Tester with more Skills. |
If this PR get no Response, it will be closed at 17th September 2017. |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/12029 |
This has been closed due to lack of response to the requests above – it can always be reopened. |
Pull Request for Issue # .
Summary of Changes
In the template.js of Beez the JS-Code for boostraps
btn-group
is implementeted but without the missing CSS-Code it is useless. This PR removes the useless code.If the
btn-group
should be added later, the code can be copied from Protostar.Testing Instructions
Beez should work as before.
Documentation Changes Required
none