Show More
@@ -98,7 +98,7 var IPython = (function (IPython) { | |||||
98 | open : function (event, ui) { |
|
98 | open : function (event, ui) { | |
99 | var that = $(this); |
|
99 | var that = $(this); | |
100 | // Upon ENTER, click the OK button. |
|
100 | // Upon ENTER, click the OK button. | |
101 | that.keydown(function (event, ui) { |
|
101 | that.find('input[type="text"]').keydown(function (event, ui) { | |
102 | if (event.which === 13) { |
|
102 | if (event.which === 13) { | |
103 | that.parent().find('button').first().click(); |
|
103 | that.parent().find('button').first().click(); | |
104 | } |
|
104 | } |
General Comments 0
You need to be logged in to leave comments.
Login now