##// END OF EJS Templates
Close new window on error creating terminal
Thomas Kluyver -
Show More
@@ -49,7 +49,10 define([
49 var name = data.name;
49 var name = data.name;
50 w.location = utils.url_join_encode(base_url, 'terminals', name);
50 w.location = utils.url_join_encode(base_url, 'terminals', name);
51 },
51 },
52 error : utils.log_ajax_error,
52 error : function(jqXHR, status, error){
53 w.close();
54 utils.log_ajax_error(jqXHR, status, error);
55 },
53 };
56 };
54 var url = utils.url_join_encode(
57 var url = utils.url_join_encode(
55 this.base_url,
58 this.base_url,
General Comments 0
You need to be logged in to leave comments. Login now