##// END OF EJS Templates
Backport PR #2757: check for complete pyside presence before trying to import...
Backport PR #2757: check for complete pyside presence before trying to import importing pyside partially and then falling back to pyqt causes a crash in sip (see gh-1431) To avoid it try to locate all modules before the import and should that fail print a warning. debian splits pyside into many small packages so sometimes people end up with incomplete pyside installations.

File last commit:

r6192:a53b1a9f
r9857:b7de0897
Show More
loginmain.js
22 lines | 780 B | application/javascript | JavascriptLexer
Brian E. Granger
Simplifying logic on login page.
r5109 //----------------------------------------------------------------------------
// Copyright (C) 2008-2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// On document ready
//============================================================================
$(document).ready(function () {
Brian Granger
Refactoring templates and top level js/css organization.
r6192 IPython.page = new IPython.Page();
$('input#login_submit').button();
Brian E. Granger
Simplifying logic on login page.
r5109 $('div#main_app').addClass('border-box-sizing ui-widget');
Brian Granger
Refactoring templates and top level js/css organization.
r6192 IPython.page.show();
$('input#password_input').focus();
Brian E. Granger
Simplifying logic on login page.
r5109
});