[RESOLVED][BUG] JS error when manually creating a selector in a folder

Author Posts

ddenev

1. Click on “Selectors” and select a selector in any folder
2. Click on the folder name in the “Selectors”/Folder/Selector path at the top so that the list of the selectors for the current folder are shown
3. Click on the + sign to manually add a selector
4. Enter the selector data and hit “Create Selector”

The following error is printed at the console:

Uncaught TypeError: Cannot read property 'split' of undefined
    at Object.get_meta (microthemer.js?v=5.6.1.4:1)
    at Object.add_selector (microthemer.js?v=5.6.1.4:1)
    at HTMLDivElement.<anonymous> (deps.js?v=5.6.1.4:1)
    at HTMLDivElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.1.1:3)
    at HTMLDivElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.1.1:3)

When adding the selector via the main folder list (under the “Selectors” section) there is no error.

Microthemer 5.6.1.4 on a local dev server.


Sebastian

Hi Drago,

I’ve just released version 5.6.1.5 which fixes the problem. Thanks for being so proactive on reporting these issues. It’s a great help to me and the community.

Cheers,
Sebastian


ddenev

Dear Sebastian,

thank you for the fast fix! I tested with the new version and now everything works OK. I’m marking this as resolved.

Best regards!

You must login or register to reply to this topic.