Edit modal not closing

QuestionsEdit modal not closing
Stephen Hartigan asked 10 years ago

When I edit a record and click submit the modal window does not close, the form just stays there, however the update to the record does complete. Adding a new record works fine (modal window closes).

Thanks in advance.

6 Answers
Abu Ghufran answered 10 years ago

Please check firebug->firebug console for possible javascript error. Send that error if exist.
I have checked demos, and unable to regenerate this issue.

Abu Ghufran answered 10 years ago

Looks like external file is either not loaded properly or there is loading sequence issue.
Make sure you have … jquery.jqGrid.min.js before jqgrid-state.js while loading scripts.

I've also updated some code in jqgrid-state.js. Please update your demo script source files from following link.

http://pastebin.com/rNh3QxNh

Stephen Hartigan answered 10 years ago

Hi Abu,

Seeing the following in firebg:

Uncaught jqGrid – No such method: undefined jqgrid-state.js:40
$.fn.extend.jqGrid jqgrid-state.js:40
jQuery.jqGrid.afterSubmit index.php:1356
a.extend.complete jquery.jqGrid.min.js:297
c jquery.min.js:4
p.fireWith jquery.min.js:4
k jquery.min.js:6
r jquery.min.js:6

Stephen answered 10 years ago

Not sure if it's related but i'm using the 'PHP Database Table Editor' code to select tables.

Thanks, Stephen…

Stephen Hartigan answered 10 years ago

Thanks for your help on this.
It looks like the problem is occurring when I use the 'multiselect' integration in combination with the Table editor demo, works fine when I remove the multiselect. Is there an issue combining these?

Thank-You

Abu Ghufran answered 10 years ago

I rechecked both combination but unable to generate this error.
Can you share the code for review?
You can either use pastebin.com or email me at [email protected].

Your Answer

5 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?