diff --git a/config/plugins/interactive_environments/phinch/static/js/phinch.js b/config/plugins/interactive_environments/phinch/static/js/phinch.js index e91c8983007..1b4c993e554 100644 --- a/config/plugins/interactive_environments/phinch/static/js/phinch.js +++ b/config/plugins/interactive_environments/phinch/static/js/phinch.js @@ -6,6 +6,13 @@ function load_notebook(url){ }); } +function append_notebook(url){ + clear_main_area(); + $('#main').append('' + ); +} + + function keep_alive(notebook_access_url){ /** * This is needed to keep the container alive. If the user leaves this site diff --git a/config/plugins/interactive_environments/phinch/templates/phinch.mako b/config/plugins/interactive_environments/phinch/templates/phinch.mako index 3b139ba311d..c446bf7d6e5 100644 --- a/config/plugins/interactive_environments/phinch/templates/phinch.mako +++ b/config/plugins/interactive_environments/phinch/templates/phinch.mako @@ -40,7 +40,7 @@ requirejs(['interactive_environments', 'plugin/phinch'], function(){ }); -
+