RohitDhankar / DigitalCognition_OldRepo_ARCHIVED

DC is being developed to be a generic BI tool. Product preview here :- https://www.youtube.com/channel/UC9J9N9CNv15s9U9Aejpza6g/videos
2 stars 1 forks source link

Uncaught TypeError: Cannot set property 'onclick' of null #23

Open RohitDhankar opened 5 years ago

RohitDhankar commented 5 years ago

Uncaught TypeError: Cannot set property 'onclick' of null.

As seen below - we get this error in the Chrome CONSOLE . Screenshot from 2019-06-13 14-00-28

As seen below - the alert created - is triggered and shown when we Click the 'X' for closing the MODAL . Thus how can the 'X' having Class crossCloseMyModal2b, be NULL if we end up closing the MODAL - as required and also triggering an alert from within the span2b.onclick = function() , code ?

Screenshot from 2019-06-13 13-59-18

RohitDhankar commented 5 years ago

To be Done later - not a show stopper .

https://github.com/RohitDhankar/DigitalCognition/blob/1d3718add7cf673fca4ac5382e8c93f0d63942d8/dc_dash/templates/dc_dash/eda_sidebar.html#L2065