Merge pull request #7066 from osadalakmal/master

Refresh terminal list. closes #7018 .
This commit is contained in:
Matthias Bussonnier 2014-11-30 13:06:04 +00:00
commit d0e97e1607

View File

@ -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);
}
};