Log in

View Full Version : Which template can cause this problem with Inline Post Editing?


Lars-Christian
03-01-2007, 06:29 PM
I have posted this over at the vB.com forums, but it is quite urgent, so I'll try here as well, hoping someone can help me out.

I am experiencing a somewhat strange problem with the Inline Post Editing function, and I am completely lost as to where the problem might be.

The problem is that when using the Inline Post Edit, when pressing save, the edited post is not shown. Instead the editor just stays. If you then refresh the page, you can see that the post has infact been edited.

I have tried disabling all hacks, and none of them seem to be the culprit.
When I switch to the default style however, it works, so it must be a flaw in one of my templates. I have tried reverting the postbit template as well as showthread, but the problem doesn't seem to be in any of those templates.

So the big question is, where can the problem be?

Crapforum
05-24-2008, 09:44 AM
I got the same problem in one of my styles...
I really cant find the solution to this :(

this is the debugged errormsg.
fetch_object("edit" + this.postid) has no properties

Opserty
05-24-2008, 09:46 AM
It could be anywhere... it is probably in some custom javascript or some javascript that has been edited which is causing conflicts or its own errors.

Crapforum
05-24-2008, 01:11 PM
I really hate these kind of problems, busy trying everything without succes :(
It's probably something really small and stupid...
if anyone knows another solution to find the problem please let us know.

Lynne
05-24-2008, 04:01 PM
Does it work with the default style? If so, compare the source code of the same page using the default style and using your style. See what the differences are.

Crapforum
06-02-2008, 12:01 PM
I really hate these kind of problems, busy trying everything without succes :(
It's probably something really small and stupid...
if anyone knows another solution to find the problem please let us know.

told you it probably was something small and stupid.
problem was in de postbit_wrapper template

<div id="edit$post[postid]" > was missing :rolleyes: