From d37ffe91b70b0bdcc8d8df301ef47b404ba042a2 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Fri, 14 Mar 2014 11:40:54 -0700 Subject: [PATCH] Fix status ind. icon bug --- IPython/html/static/notebook/js/completer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IPython/html/static/notebook/js/completer.js b/IPython/html/static/notebook/js/completer.js index 353404003..b33713ff8 100644 --- a/IPython/html/static/notebook/js/completer.js +++ b/IPython/html/static/notebook/js/completer.js @@ -267,6 +267,7 @@ var IPython = (function (IPython) { // of codemirror, we wouldn't have to play this game since codemirror // wouldn't blur when the completer was shown. this.cell.edit_mode(); + $([IPython.events]).trigger('edit_mode.Notebook'); IPython.keyboard_manager.disable(); // Opera sometimes ignores focusing a freshly created node if (window.opera) setTimeout(function () { @@ -299,6 +300,7 @@ var IPython = (function (IPython) { // of codemirror, we wouldn't have to play this game since codemirror // wouldn't blur when the completer was shown. this.cell.command_mode(); + $([IPython.events]).trigger('command_mode.Notebook'); IPython.keyboard_manager.enable(); };