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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-4 / +4 lines)
Lines 832-845 Note that permanent location is a code, and location may be an authval. Link Here
832
                        h = this.height;
832
                        h = this.height;
833
                        if ((w == 1) || (h == 1)) {
833
                        if ((w == 1) || (h == 1)) {
834
                            $("#amazon-bookcoverimg").remove();
834
                            $("#amazon-bookcoverimg").remove();
835
                            $("#catalogue_detail_biblio").attr("class","col-xs-12");
836
                        } else if ((this.complete != null) && (!this.complete)) {
835
                        } else if ((this.complete != null) && (!this.complete)) {
837
                            $("#amazon-bookcoverimg").remove();
836
                            $("#amazon-bookcoverimg").remove();
838
                            $("#catalogue_detail_biblio").attr("class","col-xs-12");
839
                        }
837
                        }
840
                    }
838
                    }
841
                });
839
                });
842
                if( $(this).find('img').length < 1 ) $(this).remove();
840
                if( $(this).find('img').length < 1 ){
841
                    $(this).remove();
842
                    $("#catalogue_detail_biblio").attr("class","col-xs-12");
843
                }
843
            });
844
            });
844
            $("#editions img").each(function(i){
845
            $("#editions img").each(function(i){
845
                if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
846
                if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
846
- 

Return to bug 25007