Show More
@@ -248,6 +248,12 b' define([' | |||||
248 | title : 'Kernel not found', |
|
248 | title : 'Kernel not found', | |
249 | body : body, |
|
249 | body : body, | |
250 | buttons : { |
|
250 | buttons : { | |
|
251 | 'No appropriate kernel' : { | |||
|
252 | class : 'btn-danger', | |||
|
253 | click : function () { | |||
|
254 | that.events.trigger('no_kernel.Kernel'); | |||
|
255 | } | |||
|
256 | }, | |||
251 | OK : { |
|
257 | OK : { | |
252 | class : 'btn-primary', |
|
258 | class : 'btn-primary', | |
253 | click : function () { |
|
259 | click : function () { |
@@ -187,6 +187,10 b' define([' | |||||
187 |
|
187 | |||
188 | showMsg(); |
|
188 | showMsg(); | |
189 | }); |
|
189 | }); | |
|
190 | ||||
|
191 | this.events.on("no_kernel.Kernel", function (evt, data) { | |||
|
192 | $("#kernel_indicator").find('.kernel_indicator_name').text("No Kernel"); | |||
|
193 | }); | |||
190 |
|
194 | |||
191 | this.events.on('kernel_dead.Session', function (evt, info) { |
|
195 | this.events.on('kernel_dead.Session', function (evt, info) { | |
192 | var full = info.xhr.responseJSON.message; |
|
196 | var full = info.xhr.responseJSON.message; |
General Comments 0
You need to be logged in to leave comments.
Login now