⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

After submitting insert/update an textbox apears with info/not returning to table



Allan
  • profile picture
  • Member

Posted 25 June 2012 - 19:29 PM

Hello,

First of all I want to thank you for developing this plugin. It's very well documented and it look's great.

I've got only 1 problem. After inserting/updating a record I get an empty page with an textbox. In the textbox there is some information. I've attached an screenshot:

[img]http://www.allanshelpdesk.nl/error.jpg[/img]
Can you help me? What am I missing? Why is it not redirecting to my table?

Best regards,
Allan

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 25 June 2012 - 20:35 PM

Hello [member='Allan'] and welcome to the forum.

This simply means that you have a Javascript error BEFORE pressing the submit button. So you have to check your firebug to see what exactly the Javascript error is and figure out the problem.

The most often errors are with a Jquery conflict. Perhaps you already have the jquery loaded in your template. If so you have to add this line of code:


$crud->unset_jquery();


This textarea is on purpose like this as if there is a Javascript error at least the user can save the data. Perhaps it sounds stupid but I wanted to make sure that even the user doesn't have enabled Javascript or there is a Javascript error somewhere at least the user can Create Update and Delete.

Hope it helps
Kindest Regards
Johnny

Allan
  • profile picture
  • Member

Posted 26 June 2012 - 17:16 PM

Thank you for your fast answer. You were right. I'm using the HTML5 boilerplate and Jquery is loaded at the bottom of the file.

Kind regards,
Allan