jsfiddle/jsfiddle-docs-alpha — Issue #132: Resources don't work with POST
Author: mhevery
Created: 2012-01-10 19:23:39+00:00
State: open

jsFiddle allows creation of fiddles from other pages using the form POST API. However this does not work with resources.

Steps to Reproduce
1) open http://jsfiddle.net/mhevery/pperN/
2) click on the 'edit in jsFiddle' this will open new jsFiddle window using the POST API
3) Notice that the Result pane shows: Hello {{name}}! (INCORRECT)
4) click on the run
5 Notice that the Result pane shows: Hello World! (CORRECT)

What happened?
1) When the POST is first made the resource is not included in the Result pane HTML which causes the initialization block to fail
2) Clicking on 'run' without any edits updates, correctly places the resource into the result pane resulting in the correct behavior.

It should not be necessary to click 'run' before the pane has the right resource included.