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

Change jquery-ui tooltip to bootstrap tooltip for 3 scripts #3004

Closed
bradymiller opened this issue Feb 26, 2020 · 3 comments · Fixed by #3022
Closed

Change jquery-ui tooltip to bootstrap tooltip for 3 scripts #3004

bradymiller opened this issue Feb 26, 2020 · 3 comments · Fixed by #3022
Assignees
Milestone

Comments

@bradymiller
Copy link
Sponsor Member

Change jquery-ui tooltip to bootstrap tooltip for the following scripts:
interface/billing/sl_eob_search.php
interface/orders/types.php
interface/usergroup/adminacl.php

@stu01509
Copy link
Member

stu01509 commented Feb 27, 2020

Hi @bradymiller

I am starting to change jquery-UI tooltip to bootstrap tooltip,
But I have some question, The style still looks the same jquery-UI, Is correct?

1

This is my modify code.

$('#advanced-tooltip').attr({"title": <?php echo xlj('Click to manually configure access control, recommended for advanced users'); ?>, "data-toggle": "tooltip", "data-placement": "bottom"}).tooltip();
$('#user-tooltip').attr({"title": <?php echo xlj('Click the pencil icon to grant and remove access privileges to the selected user'); ?>, "data-toggle": "tooltip", "data-placement": "bottom"}).tooltip();
$('#group-tooltip').attr("title", groupTitle).tooltip();
$('#new-group-tooltip').attr({"title": <?php echo xlj('Enter values in this section to create a new group also known as Access Request Object (ARO)'); ?>, "data-toggle": "tooltip", "data-placement": "bottom"}).tooltip();
$('#remove-group-tooltip').attr({"title": <?php echo xlj('Use this section to delete existing groups or Access Request Objects (AROs)'); ?>, "data-toggle": "tooltip", "data-placement": "bottom" }).tooltip();

@bradymiller
Copy link
Sponsor Member Author

hi @stu01509 , Yep, no need to change styling (unless you feel the need to). Goal is to remove dependency on jquery-ui. If that code is working, then I am all for it :)

@stu01509
Copy link
Member

Hi @bradymiller
I has been changed jquery-UI tooltip to bootstrap tooltip,
Please check is correct, If have any requested change, please ping me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants