View | Details | Raw Unified | Return to bug 7556
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (+1 lines)
Lines 178-183 Link Here
178
[% BLOCK jsinclude %]
178
[% BLOCK jsinclude %]
179
<script type="text/javascript">
179
<script type="text/javascript">
180
$( document ).ready(function() {
180
$( document ).ready(function() {
181
    $('form').preventDoubleFormSubmit();
181
182
182
    $(".paypal").on("click", function() {
183
    $(".paypal").on("click", function() {
183
        window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700');
184
        window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700');
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt (-1 / +7 lines)
Lines 113-116 Link Here
113
    </div> <!-- / .main -->
113
    </div> <!-- / .main -->
114
114
115
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
115
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
116
[% BLOCK jsinclude %][% END %]
116
[% BLOCK jsinclude %]
117
    <script type="text/javascript">
118
        $(document).ready(function() {
119
            $('form').preventDoubleFormSubmit();
120
        });
121
    </script>
122
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (+1 lines)
Lines 399-404 Link Here
399
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.cookie.min.js"></script>
399
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.cookie.min.js"></script>
400
<script type="text/javascript">//<![CDATA[
400
<script type="text/javascript">//<![CDATA[
401
$(document).ready(function() {
401
$(document).ready(function() {
402
    $('form').preventDoubleFormSubmit();
402
    $('#advsearches').tabs();
403
    $('#advsearches').tabs();
403
    jQuery.cookie.json = true;
404
    jQuery.cookie.json = true;
404
    //$('#advsearches > ul').tabs();
405
    //$('#advsearches > ul').tabs();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt (-1 / +7 lines)
Lines 53-56 Link Here
53
    </div> <!-- / .main -->
53
    </div> <!-- / .main -->
54
54
55
[% INCLUDE 'opac-bottom.inc' %]
55
[% INCLUDE 'opac-bottom.inc' %]
56
[% BLOCK jsinclude %][% END %]
56
[% BLOCK jsinclude %]
57
    <script type="text/javascript">
58
        $(document).ready(function() {
59
            $('form').preventDoubleFormSubmit();
60
        });
61
         </script>
62
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt (+1 lines)
Lines 203-208 Link Here
203
//<![CDATA[
203
//<![CDATA[
204
    // Hide circular 'Log in to Your Account' link in opac-auth.pl
204
    // Hide circular 'Log in to Your Account' link in opac-auth.pl
205
    $(document).ready(function() {
205
    $(document).ready(function() {
206
        $('form').preventDoubleFormSubmit();
206
        if ( $("#auth" ) ) { $("#members ul li a").hide(); }
207
        if ( $("#auth" ) ) { $("#members ul li a").hide(); }
207
    });
208
    });
208
//]]>
209
//]]>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (+1 lines)
Lines 314-319 Link Here
314
        <script type="text/javascript">
314
        <script type="text/javascript">
315
            //<![CDATA[
315
            //<![CDATA[
316
                $(document).ready(function(){
316
                $(document).ready(function(){
317
                    $('form').preventDoubleFormSubmit();
317
                    print();
318
                    print();
318
                    location.href="/cgi-bin/koha/opac-basket.pl?bib_list=[% bib_list %][% IF ( verbose ) %]&verbose=1[% END %]";
319
                    location.href="/cgi-bin/koha/opac-basket.pl?bib_list=[% bib_list %][% IF ( verbose ) %]&verbose=1[% END %]";
319
                });
320
                });
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+3 lines)
Lines 1335-1340 Link Here
1335
[% INCLUDE 'datatables.inc' %]
1335
[% INCLUDE 'datatables.inc' %]
1336
[% IF ( SocialNetworks ) %]
1336
[% IF ( SocialNetworks ) %]
1337
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
1337
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
1338
    $(document).ready(function() {
1339
         $('form').preventDoubleFormSubmit();
1340
            }
1338
    //<![CDATA[
1341
    //<![CDATA[
1339
      {lang: '[% lang %]'}
1342
      {lang: '[% lang %]'}
1340
    //]]>
1343
    //]]>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadcart.tt (-1 / +7 lines)
Lines 34-37 Link Here
34
        </div> <!-- / .container-fluid -->
34
        </div> <!-- / .container-fluid -->
35
    </div> <!-- / .main -->
35
    </div> <!-- / .main -->
36
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
36
[% INCLUDE 'opac-bottom.inc' is_popup=1 %]
37
[% BLOCK jsinclude %][% END %]
37
[% BLOCK jsinclude %]
38
    <script type="text/javascript">
39
        $(document).ready(function() {
40
             $('form').preventDoubleFormSubmit();
41
        });
42
    </script>
43
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-downloadshelf.tt (+1 lines)
Lines 107-112 Link Here
107
        <script type="text/javascript">
107
        <script type="text/javascript">
108
            //<![CDATA[
108
            //<![CDATA[
109
                $(document).ready(function(){
109
                $(document).ready(function(){
110
                         $('form').preventDoubleFormSubmit();
110
                    $("#userdownloadshelf form").on("submit",function(e){
111
                    $("#userdownloadshelf form").on("submit",function(e){
111
                        if( $("#dlformat").val() == "" ){
112
                        if( $("#dlformat").val() == "" ){
112
                            e.preventDefault();
113
                            e.preventDefault();
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-full-serial-issues.tt (+1 lines)
Lines 140-145 Link Here
140
<script type="text/javascript">
140
<script type="text/javascript">
141
    //<![CDATA[
141
    //<![CDATA[
142
        $(document).ready(function(){
142
        $(document).ready(function(){
143
             $('form').preventDoubleFormSubmit();
143
            showlayer([% yearmin %]);
144
            showlayer([% yearmin %]);
144
            $("a.tabsubs:first").addClass("currentsubtab");
145
            $("a.tabsubs:first").addClass("currentsubtab");
145
            $("#filterform").submit(function(){
146
            $("#filterform").submit(function(){
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-1 / +7 lines)
Lines 113-116 Link Here
113
</div> <!-- /.main -->
113
</div> <!-- /.main -->
114
114
115
[% INCLUDE 'opac-bottom.inc' %]
115
[% INCLUDE 'opac-bottom.inc' %]
116
[% BLOCK jsinclude %][% END %]
116
[% BLOCK jsinclude %]
117
    <script type+"text/javascript">
118
        $(document).ready(function() {
119
             $('form').preventDoubleFormSubmit();
120
                });
121
    </script>
122
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (+1 lines)
Lines 948-953 Link Here
948
    <script type="text/javascript">
948
    <script type="text/javascript">
949
        //<![CDATA[
949
        //<![CDATA[
950
        $(document).ready(function() {
950
        $(document).ready(function() {
951
             $('form').preventDoubleFormSubmit();
951
            [% IF action == 'edit' && !OPACPatronDetails %]
952
            [% IF action == 'edit' && !OPACPatronDetails %]
952
                $("#memberentry-form :input").attr('readonly', true);
953
                $("#memberentry-form :input").attr('readonly', true);
953
                $("#borrower_branchcode").attr('disabled',true);
954
                $("#borrower_branchcode").attr('disabled',true);
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt (+1 lines)
Lines 163-168 Link Here
163
[% BLOCK jsinclude %]
163
[% BLOCK jsinclude %]
164
<script type="text/javascript">//<![CDATA[
164
<script type="text/javascript">//<![CDATA[
165
  $(document).ready(function(){
165
  $(document).ready(function(){
166
         $('form').preventDoubleFormSubmit();
166
    $(".none").click(function(){
167
    $(".none").click(function(){
167
      if($(this).attr("checked")){
168
      if($(this).attr("checked")){
168
        var rowid = $(this).attr("id");
169
        var rowid = $(this).attr("id");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt (-1 / +7 lines)
Lines 80-83 Link Here
80
80
81
81
82
[% INCLUDE 'opac-bottom.inc' %]
82
[% INCLUDE 'opac-bottom.inc' %]
83
[% BLOCK jsinclude %][% END %]
83
[% BLOCK jsinclude %]
84
<script type="text/javascript">
85
    $(document).ready(function() {
86
         $('form').preventDoubleFormSubmit();
87
            });
88
</script>
89
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-password-recovery.tt (-2 / +5 lines)
Lines 5-11 Link Here
5
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
6
[% BLOCK jsinclude %]
6
[% BLOCK jsinclude %]
7
<script type="text/javascript" language="javascript">
7
<script type="text/javascript" language="javascript">
8
   $(function() {
8
   $(document).ready(function() {
9
         $('form').preventDoubleFormSubmit();
10
    });
11
12
$(function() {
9
        $("#CheckAll").click(function(){
13
        $("#CheckAll").click(function(){
10
                $("[name=deleteRequest]").attr('checked', true);
14
                $("[name=deleteRequest]").attr('checked', true);
11
                return false;
15
                return false;
12
- 

Return to bug 7556