Merge pull request #326 from bollwyvl/pg-frame-first-load
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sat, 22 Feb 2014 16:00:55 +0100
changeset 2111 17ce0687cb69
parent 2108 7d3932389077 (current diff)
parent 2110 ce6d01df6331 (diff)
child 2112 91196a1684b4
Merge pull request #326 from bollwyvl/pg-frame-first-load

Refresh editors after playground tab change
--- a/playground/playground.js	Fri Feb 21 12:24:41 2014 -0500
+++ b/playground/playground.js	Sat Feb 22 16:00:55 2014 +0100
@@ -315,6 +315,8 @@
       $('#markup-div').removeClass('span6').addClass('span12');
       $('#param-type').html('');
     }
+    
+    $.each(playground.editors, function(id, editor){ editor.refresh(); });
 
     // perform processing on the data provided in the input boxes
     playground.process();