mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Merge pull request #7066 from osadalakmal/master
Refresh terminal list. closes #7018 .
This commit is contained in:
commit
d0e97e1607
@ -91,10 +91,16 @@ require([
|
||||
//refresh immediately , then start interval
|
||||
session_list.load_sessions();
|
||||
cluster_list.load_list();
|
||||
if (terminal_list) {
|
||||
terminal_list.load_terminals();
|
||||
}
|
||||
if (!interval_id){
|
||||
interval_id = setInterval(function(){
|
||||
session_list.load_sessions();
|
||||
cluster_list.load_list();
|
||||
if (terminal_list) {
|
||||
terminal_list.load_terminals();
|
||||
}
|
||||
}, time_refresh*1000);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user