Presenting a list of users - AJAX Error

Discussion about eFront modules. You may suggest new modules here or post issues with current ones. This forum also offers suggestions and best practices for module developers.

Presenting a list of users - AJAX Error

Postby Chris138 » Thu Dec 15, 2016 8:27 am

Hello,

I just started getting into Plugin-development for eFront Pro (V 4.4.16).
To learn the specifics i went through the tutorial on https://docs.efrontlearning.com/how_to_create_a_plugin.

But when I want to display a table with current users (tutorial chapter ->Req. 2: Presents a list of users that have not used the system recently), I got an AJAX error

Uncaught TypeError: Cannot read property '1' of null

The users aren`t displayed.

The strange thing is that this error appears even if I copy and paste the source code from the tutorial page into my plugin classes / template.

On the other side the plugin templates from https://github.com/epignosis/eFrontPro- ... ts-initial work perfectly.

But even if i copy the code from the github templates into my plugin classes/templates the error still appears.

Maybe someone has a guess.

Thank you

Chris
Chris138
 
Posts: 1
Joined: Thu Dec 15, 2016 8:10 am

Return to Modules

Who is online

Users browsing this forum: No registered users and 3 guests

cron