I'm making a canvas page with a publish-to-stream form. When using the form as a regular web page, i.e. not going via apps.facebook.com, everything works fine. However, when I submit on the canvas page, the page contains only the html above the form. When I press the browser's back button, the publish to Facebook window pops up. The behavior is the same no matter what I put in the form's submit function, so it's not a fb_stream_publish_dialog issue. Validation, on the other hand, works as expected. By now, I think I've tried every possible DFF setting (FBML/no FBML, submit to apps.fb.com/redirect to my site etc). Is it DFF or is it me?
The canvas page node is created as a page with the following code as content:
<?php
print views_embed_view('simplelist');
print drupal_get_form('test_fbcanvasform');
?>