Recent Topics

JavaScript Error popover for field_error class added dynamically

Started by on Apr 16, 2018 – Contents updated: Nov 14, 2018

Apr 16, 2018 16:34    

JavaScript Error popover for field_error class added dynamically

This happens when the class field_error is added via JS and the mouse over event fires (Cursor hovers over the field with the error)

jQuery(a.target).data("bs.popover").$tip becomes undefined

Not sure how you will be able to reproduce this without adding the class inside the inspector console.

Nov 11, 2018 15:21

Does this error ever appear when using b2evolution in a standard way? (without poking at it through the inspector console)

Nov 12, 2018 07:02

@fplanque wrote earlier:

Does this error ever appear when using b2evolution in a standard way? (without poking at it through the inspector console)

Its been a while since I made this report, but no, this error is ONLY visible in the inspector console and not for standard viewing.

I can't recall if this error causes js for subsequent code to crash but seem to think this report fas purely FYI

Nov 12, 2018 14:09

Ok, I'm registering this as a low priority bug.

Nov 14, 2018 17:11

@achillis Hi, as I understand you have the issue only with new field type select_input, right? If yes then we don't see a reason to fix this because this new field type exists only in your PR https://github.com/b2evolution/b2evolution/pull/76 which really was not merged to b2evolution branches.
I tested with another field type and could not reproduce the JS error, please see my attached screenshot below:


Form is loading...

Web Site Engine – This forum is powered by b2evolution CMS, a complete engine for your website.