Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: autohide tooltips when opening edit dialog for calendar

autohide tooltips when opening edit dialog for calendar 1 week 15 hours ago #89328

  • MadMart
  • MadMart's Avatar
  • Offline
  • Senior Member
  • Posts: 49
  • Thank you received: 18
  • Karma: 2
Hi all,

a colleague of mine was complaining that tooltips persist and appear in front of the edit dialog when creating an event on the calendar.

my idea is that you could do one of three things
  • change tooltips z-index
  • delete tooltips DOM Nodes
  • trigger tooltips close method

I tried option two which then broke the tooltip functionality so I decided to opt for a monkey patch approach for the edit dialog function to implement option three.
Sharing this here so it could possibly be added to the open_edit_dialog function or implemented 3rd party by others
CAL.open_edit_dialog_new = CAL.open_edit_dialog

CAL.open_edit_dialog = function() {
$('.qtip-close').click();
  CAL.open_edit_dialog_new.apply(CAL,arguments);
}
Last Edit: 1 week 15 hours ago by MadMart. Reason: unnecessary commented out code when figuring out how to implement
The administrator has disabled public write access.
The following user(s) said Thank You: pgr
Time to create page: 0.045 seconds
Powered by Kunena Forum