##// END OF EJS Templates
Move the display Promise into a lower level method,...
Move the display Promise into a lower level method, into the create view method of the widget manager. This makes sure that views created by parent views are also accounted for in the state/display order guarantee.

File last commit:

r17204:b67653df
r18905:e8cb71d7
Show More
loginmain.js
12 lines | 383 B | application/javascript | JavascriptLexer
// Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
var ipython = ipython || {};
require(['base/js/page'], function(page) {
var page_instance = new page.Page();
$('button#login_submit').addClass("btn btn-default");
page_instance.show();
$('input#password_input').focus();
ipython.page = page_instance;
});