When using the modal frame for display of a personal contact form the following error occurs
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: http://localhost:8888/domain/?q=user/4/modal_forms/ajax/contact
StatusText: OK
ResponseText:
And then a lot of css files follow that are called.
My install is pretty clean so I don't expect any interference from other modules.
There are no permissions issues as I am trying to reach the form as #1 user
When using the modal frame for the global contact form al works fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | modal_forms-fix_personal_contact_form-1846020-5.patch | 2.9 KB | FooZee |
| #5 | fix_personal_contact_froms-1846020-5.patch | 0 bytes | FooZee |
Comments
Comment #1
frjo commentedThis is a bug in the JavaScript that automatically rewrite contact form links. It doesn't make a special case for personal contact form so messes up the link.
Will try to get some time to look at this but it will take some time.
Comment #2
danon1981 commentedI see, thanks in advance for fixing this.
Comment #3
FooZee commentedany updates about this ?? :) I really like the module and think that this feature is a must have actually :)
@frjo
I need this for an ongoing project, so if you have started working on it and need any help I'd be happy to give a hand, if you didn't have time to do it yet, I may start doing it and post back anyways ;) --just I'm too lazy to re-invent the wheel :D
Comment #4
frjo commented@FooZee, I have not taken the tile to look at this yet so please take a stab at it.
Comment #5
FooZee commentedHere is a patch that ideally works, please test it and tell me if it does need anything else :) ...
edit:
sorry had a minor problem with Git and I stupidly created an empty patch... correct patch following in the next comment
Comment #6
FooZee commentedThe working patch (hope it really works :D)
Comment #7
frjo commentedThanks for contributing this patch FooZee!
Committed to 7-dev with some fixes to coding standard and to make it work for non clean URLs.