src/firefoxos/help.js

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

mercurial