[KULRICE-8406] JS eror when hover over the help icons After M4 update Created: 12/Oct/12  Updated: 03/Apr/13  Resolved: 26/Oct/12

Status: Closed
Project: Kuali Rice Development
Component/s: Accessibility
Affects Version/s: None
Fix Version/s: 2.2.0-rc1, 2.2
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Critical
Reporter: Hemanth Gajula (Inactive) Assignee: Brian Smith (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File errorscreenshot.jpg     Text File helpiconbeandefinitions.txt    
Similar issues:
KULRICE-4707Hover over field level help with Dialog
KULRICE-5895Help text on Hover doesn't display onparts of Route log panel
KULRICE-2019When any of the HELP icons are clicked no help text is displayed
KULRICE-9943: Copy icon not appearing on syntax highlighter
KULRICE-5442disabled header tabs should not highlight on hover
KULRICE-9915Add line client Javascript runs for over a minute
KULRICE-7490Highlight collection when hovering on add button
KULRICE-5639Within the date-picker widget, there are previous and next buttons. In IE, when hovering over these, the images flicker on and off. When clicking, nothing happens.
KULRICE-8847Role lookups slow when there are over 200 roles
KULRICE-7462Validation messaging - single checkbox visual treatment/shading missing on hover
Rice Module:
KRAD
KAI Review Status: Not Required
KTI Review Status: Not Required

 Description   

After M4 update ,When hovered over the Help icons a JS error is thrown(Uncaught TypeError: Cannot read property 'top' of undefined)

Attaching a screenshot(errorscreenshot.jpg) and bean definitions(helpiconsbeandefinitions.txt) used for reference.



 Comments   
Comment by Hemanth Gajula (Inactive) [ 16/Oct/12 ]

Debugging the issue further found that in

krad_2.2.0-M4.js

inside the

function c(E, N, x) {

var u = N.offset();-->(The offset for the N is undefined)
var t = parseInt(u.top);-->(u is undefined),Failing at this position and throwing the js error

Comment by Hemanth Gajula (Inactive) [ 17/Oct/12 ]

.. We are overriding the createbubblepopup() function in our js
.. Previously in krad js the createbubblepopup use to have only one parameter which are the options (Like in original jquery template ".CreateBubblePopup(

{ themePath : ‘…’ }

)")
.. But now in krad_2.2.0_m4.js this is been modified to (.CreateBubblePopup(selector,

{ themePath : ‘…’ }

))) which we didn't change in our js functions.
.. So once we turn off our js fucntions we see the bubblepopup.

Comment by Brian Smith (Inactive) [ 26/Oct/12 ]

So this is fixed then?

Comment by Brian Smith (Inactive) [ 26/Oct/12 ]

Btw, the changes were made in M4 to fix issues pointed out by myplan if I remember correctly

Comment by Brian Smith (Inactive) [ 26/Oct/12 ]

MyPlan will change their code to accommodate the newly changed function customization done in m4 to the bubblepopup plugin

Generated at Sat Jun 06 14:27:46 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.