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

(-)a/koha-tmpl/intranet-tmpl/prog/js/localcovers.js (-3 / +3 lines)
Lines 56-63 KOHA.LocalCover = { Link Here
56
            $(message).html(NO_LOCAL_JACKET);
56
            $(message).html(NO_LOCAL_JACKET);
57
            $(mydiv).append(message);
57
            $(mydiv).append(message);
58
            var img = $("<img />");
58
            var img = $("<img />");
59
            img.attr('src','/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=' + $(mydiv).attr("class"));
59
            img.attr('src','/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=' + $(mydiv).attr("class"))
60
            img.load(function () {
60
                .addClass("thumbnail")
61
                .load(function () {
61
                    if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth <= 1) {
62
                    if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth <= 1) {
62
                        //IE HACK
63
                        //IE HACK
63
                        try {
64
                        try {
64
- 

Return to bug 19511