##// END OF EJS Templates
Reload list after creating a new folder in promises....
Matthias Bussonnier -
Show More
@@ -82,8 +82,10 b' define(['
82 that.load_sessions();
82 that.load_sessions();
83 });
83 });
84 $('#new-folder').click(function(e) {
84 $('#new-folder').click(function(e) {
85 that.contents.new_untitled(that.notebook_path || '', {type: 'directory'});
85 that.contents.new_untitled(that.notebook_path || '', {type: 'directory'})
86 that.load_sessions();
86 .then(function(){
87 that.load_list();
88 });
87 });
89 });
88 }
90 }
89 };
91 };
General Comments 0
You need to be logged in to leave comments. Login now