Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Form generates "url not set" error before importing ajaxEditOptions #38

Closed
dvdotsenko opened this issue Mar 16, 2010 · 1 comment
Closed

Comments

@dvdotsenko
Copy link
Contributor

Was playing around with Form Editing and found what I think is a bug.

I am trying to use generic ajaxEditOptions (with serialization callback code injecting extra data into postdata) for all of my Edit Forms. (It is easier this way to create multiple instances of grid for me.)

I am not populating "url" (or "editurl") property of the grid at all. I wanted to use one and the same url and options as taken from a "shared" ajaxEditOptions. But as per last commit sha: 17c4749 grid's Edit Form code presents an error complaining about unset URL before it imports settings from ajaxEditOptions.

Lines 859-861 (grid.formedit.js) trigger an "URL is not set" error, before $.jgrid.ajaxOptions and rp_ge.ajaxEditOptions are merged into the ajax properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants