From 8cbae5757b426a8d4bc85f8a3262bfc66f81e67e 2013-07-30 20:04:27 From: MinRK Date: 2013-07-30 20:04:27 Subject: [PATCH] update payload source should be simple key, not Python (or worse, IPython) specific long key. I could have sworn I did this long ago, but apparently the source key was only updated in display_data, not execute_reply. --- diff --git a/IPython/core/payloadpage.py b/IPython/core/payloadpage.py index f8436b1..b1d07a6 100644 --- a/IPython/core/payloadpage.py +++ b/IPython/core/payloadpage.py @@ -82,7 +82,7 @@ def page(strng, start=0, screen_lines=0, pager_cmd=None, pass payload = dict( - source='IPython.kernel.zmq.page.page', + source='page', text=strng, html=html, start_line_number=start diff --git a/IPython/html/static/services/kernels/js/kernel.js b/IPython/html/static/services/kernels/js/kernel.js index 9d5806c..6f8ec7c 100644 --- a/IPython/html/static/services/kernels/js/kernel.js +++ b/IPython/html/static/services/kernels/js/kernel.js @@ -419,10 +419,10 @@ var IPython = (function (IPython) { // Payloads are handled by triggering events because we don't want the Kernel // to depend on the Notebook or Pager classes. for (var i=0; i