Mon, 22 Apr 2013 22:00:43 +0200
Import pristine sources of new project OTPWCalc.
michael@0 | 1 | /* |
michael@0 | 2 | * OTPWCalc - One time password challenge response calculator client |
michael@0 | 3 | * Copyright © 2013 Michael Schloh von Bennewitz <michael@schloh.com> |
michael@0 | 4 | * |
michael@0 | 5 | * OTPWCalc is free software: you can redistribute it and/or modify |
michael@0 | 6 | * it under the terms of the European Union Public Licence, either |
michael@0 | 7 | * version 1.1 of the license, or (at your option) any later version. |
michael@0 | 8 | * |
michael@0 | 9 | * OTPWCalc is distributed in the hope that it will be useful, |
michael@0 | 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty |
michael@0 | 11 | * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
michael@0 | 12 | * the European Union Public License for more details. |
michael@0 | 13 | * |
michael@0 | 14 | * You should have received a copy of the European Union Public |
michael@0 | 15 | * Licence along with OTPWCalc. If not, please refer to |
michael@0 | 16 | * <http://joinup.ec.europa.eu/software/page/eupl/>. |
michael@0 | 17 | * |
michael@0 | 18 | * This file is part of project OTWPCalc, a one time password challenge |
michael@0 | 19 | * response calculator client and is found at http://otpwcalc.europalab.com/ |
michael@0 | 20 | * |
michael@0 | 21 | * help.js: ECMA JavaScript implementation |
michael@0 | 22 | */ |
michael@0 | 23 | |
michael@0 | 24 | // <![CDATA[ |
michael@0 | 25 | //// This doesn't work with AJAX (use pageinit instead) |
michael@0 | 26 | //// That means JavaScript in the head of any other HTML |
michael@0 | 27 | //// will be ignored, only the data-role="page" is parsed |
michael@0 | 28 | //$(document).ready(function() { |
michael@0 | 29 | //$.mobile.ajaxLinksEnabled = false; |
michael@0 | 30 | //}); |
michael@0 | 31 | //$(document).on("mobileinit", function() { |
michael@0 | 32 | // $.extend( $.mobile , { |
michael@0 | 33 | // pageLoadErrorMessage: 'Either the page cannot be found or it cannot be loaded.' |
michael@0 | 34 | // }); |
michael@0 | 35 | //}); |
michael@0 | 36 | $(document).on("pageinit", function(event) { |
michael@0 | 37 | $(".ui-collapsible[data-allow-collapse=false]").off("expand collapse"); |
michael@0 | 38 | }); |
michael@0 | 39 | // ]]> |