1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/firefoxos/help.js Mon Apr 22 22:00:43 2013 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +/* 1.5 + * OTPWCalc - One time password challenge response calculator client 1.6 + * Copyright © 2013 Michael Schloh von Bennewitz <michael@schloh.com> 1.7 + * 1.8 + * OTPWCalc is free software: you can redistribute it and/or modify 1.9 + * it under the terms of the European Union Public Licence, either 1.10 + * version 1.1 of the license, or (at your option) any later version. 1.11 + * 1.12 + * OTPWCalc is distributed in the hope that it will be useful, 1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty 1.14 + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 1.15 + * the European Union Public License for more details. 1.16 + * 1.17 + * You should have received a copy of the European Union Public 1.18 + * Licence along with OTPWCalc. If not, please refer to 1.19 + * <http://joinup.ec.europa.eu/software/page/eupl/>. 1.20 + * 1.21 + * This file is part of project OTWPCalc, a one time password challenge 1.22 + * response calculator client and is found at http://otpwcalc.europalab.com/ 1.23 + * 1.24 + * help.js: ECMA JavaScript implementation 1.25 + */ 1.26 + 1.27 +// <![CDATA[ 1.28 +//// This doesn't work with AJAX (use pageinit instead) 1.29 +//// That means JavaScript in the head of any other HTML 1.30 +//// will be ignored, only the data-role="page" is parsed 1.31 +//$(document).ready(function() { 1.32 + //$.mobile.ajaxLinksEnabled = false; 1.33 +//}); 1.34 +//$(document).on("mobileinit", function() { 1.35 +// $.extend( $.mobile , { 1.36 +// pageLoadErrorMessage: 'Either the page cannot be found or it cannot be loaded.' 1.37 +// }); 1.38 +//}); 1.39 +$(document).on("pageinit", function(event) { 1.40 + $(".ui-collapsible[data-allow-collapse=false]").off("expand collapse"); 1.41 +}); 1.42 +// ]]>