Re: [jplatform] Issue backend component development 3.0

775 views
Skip to first unread message

Andrew Eddie

unread,
Feb 28, 2013, 4:30:16 AM2/28/13
to JPlatform
Hi clemles

You would be better asking that question on the Joomla General Development mailing list.

Regards,
Andrew Eddie
http://learn.theartofjoomla.comfree tutorials and videos on Joomla development


On 28 February 2013 19:27, clemles <clema...@gmail.com> wrote:
i'm developing a component MVC in Joomla 3.0 but was in face to an issue in the backend.

When i try to go in the action to add an item with the HelperToolbar I have an issue with core.js line 4
Chrome says : "Uncaught TypeError: Cannot read property 'task' of null "

However i have form in views/Products/tmpl/default.php
I can't debug that actually. Anybody has encountered this issue development ?

--
You received this message because you are subscribed to the Google Groups "Joomla! Platform Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-plat...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Roberto Segura

unread,
Feb 28, 2013, 1:44:53 PM2/28/13
to joomla-de...@googlegroups.com

That means that you have to add a hidden input for the task into the form.

That hidden field is updated when clicking on toolbar buttons and before submitting the form.

If the field does not exist the JS cannot update it and throws the error.

Clément Lesaulnier

unread,
Mar 18, 2013, 4:56:33 AM3/18/13
to joomla-de...@googlegroups.com
I'll better understand why was the error on submitting in the Back-Office. thanks
Reply all
Reply to author
Forward
0 new messages