##// END OF EJS Templates
Backport PR #2778: P3K: fix DeprecationWarning under Python 3.x...
Backport PR #2778: P3K: fix DeprecationWarning under Python 3.x The warning is: ``` .../site-packages/IPython/utils/jsonutil.py:121: DeprecationWarning: encodestring() is a deprecated alias, use encodebytes() encoded['image/png'] = encodestring(pngdata).decode('ascii') ```

File last commit:

r6192:a53b1a9f
r9856:9eb1365c
Show More
loginmain.js
22 lines | 780 B | application/javascript | JavascriptLexer
//----------------------------------------------------------------------------
// 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 () {
IPython.page = new IPython.Page();
$('input#login_submit').button();
$('div#main_app').addClass('border-box-sizing ui-widget');
IPython.page.show();
$('input#password_input').focus();
});