Clone broken

QuestionsClone broken
Randy Blair asked 9 years ago

Chrome console gives this message when the clone button is pushed:

Uncaught jqGrid – No such method: undefined$.fn.extend.jqGrid @ jqGrid.state.js:380fx_clone_row @ test.php?themeid=18:209jQuery.jqGrid.onClickButton @ test.php?themeid=18:396(anonymous function) @ jquery.jqGrid.min.js:361x.event.dispatch @ jquery.min.js:5x.event.add.v.handle @ jquery.min.js:5
jquery.min.js:6

POST http://10.250.12.103/phpgrid/test.php?themeid=18&grid_id=list1 500 (Internal Server Error)x.ajaxTransport.send @ jquery.min.js:6x.extend.ajax @ jquery.min.js:6fx_clone_row @ test.php?themeid=18:198jQuery.jqGrid.onClickButton @ test.php?themeid=18:396(anonymous function) @ jquery.jqGrid.min.js:361x.event.dispatch @ jquery.min.js:5x.event.add.v.handle @ jquery.min.js:5

5 Answers
Abu Ghufran answered 9 years ago

I am unable to generate this issue. I combined clone demo with state persistance, but works as expected.
If you have some online link, it would help.

Randy Blair answered 9 years ago

You have all of my code, Abu. It's not an online project.
A pop up says "500 : Internal Server Error. Status: error".

Abu Ghufran answered 9 years ago

If you check firebug net response, it was a query error that need fields to be escaped.
I am emailing you a fix.

Randy Blair answered 9 years ago

I got what you sent, and it did fix the problem, but it created another problem (that I can see at the moment).
The edit pencil icon no longer shows up on the toolbar.

Abu Ghufran answered 9 years ago

Handling case on email. Closing this ticket.

Your Answer

7 + 15 =

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?