[wp-testers] Preview Button not working

Otto otto at ottodestruct.com
Wed Nov 5 21:04:14 GMT 2008


Argh.... Nevermind. I found it...

It's an incompatible plugin problem. The WP-Amazon plugin works fine
in 2.6.3, I guess something just causes it to break things in 2.7.

-Otto


On Wed, Nov 5, 2008 at 2:32 PM, Andrew Ozz <admin at laptoptips.ca> wrote:
> Otto, the preview button uses js to add "target" to the form when clicked
> (that's what opens the new page/tab), submits the form then removes the
> target. This is the same for both published posts and drafts. It's strange
> that it only fails for published posts.
>
> The same is used for pages, does it fail there too?
>
> The js function is in wp-admin/js/post.js around line 300. Perhaps try
> disabling part of it to see what causes the error.
>
> When js is disabled the "old" preview buttons are there, "Preview" for
> drafts and "View Post" for published.
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list