Show More
@@ -37,14 +37,14 b' $(document).ready(function () {' | |||||
37 |
|
37 | |||
38 | var enable_autorefresh = function(){ |
|
38 | var enable_autorefresh = function(){ | |
39 | //refresh immediately , then start interval |
|
39 | //refresh immediately , then start interval | |
40 | if($('upload_button').length == 0) |
|
40 | if($('.upload_button').length == 0) | |
41 | { |
|
41 | { | |
42 | IPython.notebook_list.load_list(); |
|
42 | IPython.notebook_list.load_list(); | |
43 | IPython.cluster_list.load_list(); |
|
43 | IPython.cluster_list.load_list(); | |
44 | } |
|
44 | } | |
45 | if (!interval_id){ |
|
45 | if (!interval_id){ | |
46 | interval_id = setInterval(function(){ |
|
46 | interval_id = setInterval(function(){ | |
47 | if($('upload_button').length == 0) |
|
47 | if($('.upload_button').length == 0) | |
48 | { |
|
48 | { | |
49 | IPython.notebook_list.load_list(); |
|
49 | IPython.notebook_list.load_list(); | |
50 | IPython.cluster_list.load_list(); |
|
50 | IPython.cluster_list.load_list(); |
General Comments 0
You need to be logged in to leave comments.
Login now