Skip to content
Browse files

fix upload button selection by class

superseed #1676 #1658 (and correct bug in 1676 where one con't upload
notebook because of refresh)
  • Loading branch information...
1 parent f4a9b71 commit df90df6408be83d89b5f353cfc0f41544ff613b3 @Carreau committed May 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/frontend/html/notebook/static/js/projectdashboardmain.js
View
4 IPython/frontend/html/notebook/static/js/projectdashboardmain.js
@@ -37,14 +37,14 @@ $(document).ready(function () {
var enable_autorefresh = function(){
//refresh immediately , then start interval
- if($('upload_button').length == 0)
+ if($('.upload_button').length == 0)
{
IPython.notebook_list.load_list();
IPython.cluster_list.load_list();
}
if (!interval_id){
interval_id = setInterval(function(){
- if($('upload_button').length == 0)
+ if($('.upload_button').length == 0)
{
IPython.notebook_list.load_list();
IPython.cluster_list.load_list();

0 comments on commit df90df6

Please sign in to comment.
Something went wrong with that request. Please try again.