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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +8 lines)
Lines 815-821 Link Here
815
                                                        [% FILTER html_break %]
815
                                                        [% FILTER html_break %]
816
                                                            [% review.review | html %]
816
                                                            [% review.review | html %]
817
                                                        [% END %]
817
                                                        [% END %]
818
                                                        <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&amp;reviewid=[% review.reviewid | uri %]');">Edit</a>
818
                                                        <a href="/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber | uri %]&amp;reviewid=[% review.reviewid | uri %]" class="edit_comment">Edit</a>
819
                                                    </p>
819
                                                    </p>
820
                                                </div>
820
                                                </div>
821
                                            [% ELSE %]
821
                                            [% ELSE %]
Lines 857-864 Link Here
857
                                    [% IF ( loggedinusername ) %]
857
                                    [% IF ( loggedinusername ) %]
858
                                        [% UNLESS ( loggedincommenter ) %]
858
                                        [% UNLESS ( loggedincommenter ) %]
859
                                            <div id="addcomment">
859
                                            <div id="addcomment">
860
                                                <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]'); return false;">
860
                                                <a href="/cgi-bin/koha/opac-review.pl?biblionumber=[% biblio.biblionumber | uri %]" class="edit_comment">
861
                                                Post your comments on this title.
861
                                                    Post your comments on this title.
862
                                                </a>
862
                                                </a>
863
                                            </div>
863
                                            </div>
864
                                        [% END %]
864
                                        [% END %]
Lines 1921-1926 Link Here
1921
                    });
1921
                    });
1922
                }());
1922
                }());
1923
            [% END # /IF ( OPACShelfBrowser ) %]
1923
            [% END # /IF ( OPACShelfBrowser ) %]
1924
1925
            $(".edit_comment").on("click", function(e){
1926
                e.preventDefault();
1927
                Dopop( this.href );
1928
            });
1924
        });
1929
        });
1925
1930
1926
        $(document).ready(function() {
1931
        $(document).ready(function() {
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt (-3 lines)
Lines 168-175 Link Here
168
                },
168
                },
169
            }));
169
            }));
170
        });
170
        });
171
        function Dopop(link) {
172
            newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
173
        }
174
    </script>
171
    </script>
175
[% END %]
172
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/global.js (-2 / +1 lines)
Lines 46-52 function confirmDelete(message) { Link Here
46
}
46
}
47
47
48
function Dopop(link) {
48
function Dopop(link) {
49
    newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes,resizable=yes');
49
    newin=window.open(link,'popup','width=660,height=450,toolbar=false,scrollbars=yes,resizable=yes');
50
}
50
}
51
51
52
jQuery.fn.preventDoubleFormSubmit = function() {
52
jQuery.fn.preventDoubleFormSubmit = function() {
53
- 

Return to bug 34936