PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` /** * Copyright (c) 2011, Robin Appelman * 2013, Morris Jobke * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ /** * The callback will be fired as soon as enter is pressed by the * user or 1 second after the last data entry * * @param callback * @param allowEmptyValue if this is set to true the callback is also called when the value is empty */ jQuery.fn.keyUpDelayedOrEnter = function (callback, allowEmptyValue) { var cb = callback; var that = this; this.on('input', _.debounce(function (event) { // enter is already handled in keypress if (event.keyCode === 13) { return; } if (allowEmptyValue || that.val() !== '') { cb(); } }, 1000)); this.keypress(function (event) { if (event.keyCode === 13 && (allowEmptyValue || that.val() !== '')) { event.preventDefault(); cb(); } }); }; /** * The callback will be fired as soon as enter is pressed by the user * * @param callback * @param allowEmptyValue if this is set to true the callback is also called when the value is empty */ jQuery.fn.enter = function (callback, allowEmptyValue) { var cb = callback; var that = this; this.keypress(function (event) { if (event.keyCode === 13 && (allowEmptyValue || that.val !== '')) { event.preventDefault(); cb(); } }); this.bind('paste', null, function (e) { if(!e.keyCode){ if (allowEmptyValue || that.val() !== '') { cb(); } } }); }; $(document).ready(function () { // 'redirect' to anchor sections // anchors are lost on redirects (e.g. while solving the 2fa challenge) otherwise // example: /settings/personal?section=devices will result in /settings/personal?#devices if (!window.location.hash) { var query = OC.parseQueryString(location.search); if (query && query.section) { OC.Util.History.replaceState({}); window.location.hash = query.section; } } else { if(window.location.hash === '#apppasswords' && window.location.pathname === '/settings/personal') { // Handle old apppasswords links from desktop apps OC.redirect(OC.generateUrl('/settings/personal?sectionid=security#apppasswords')); } } });