Merge branch 'bug_8264' into 3.14-master
This commit is contained in:
commit
965d2bb788
3 changed files with 15 additions and 0 deletions
|
@ -664,3 +664,4 @@ March 30 2013 Karam Qubsi becomes the 206th developer to have a patch pushed
|
|||
March 30 2013 Aaron Wells becomes the 207th developer to have a patch pushed
|
||||
April 21 2013 Barry Cannon becomes the 208th developer to have a patch pushed
|
||||
April 27 2013 Stefano Bargioni becomes the 209th developer to have a patch pushed
|
||||
May 1 2013 Edmund Balnaves becomes the 210th developer to have a patch pushed
|
||||
|
|
|
@ -28,6 +28,13 @@ KOHA.LocalCover = {
|
|||
'/cgi-bin/koha/catalogue/image.pl?thumbnail=1&biblionumber=' + $(mydiv).attr("class"))
|
||||
.load(function () {
|
||||
if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
|
||||
//IE HACK
|
||||
try {
|
||||
$(mydiv).append(img);
|
||||
$(mydiv).children('.no-image').remove();
|
||||
}
|
||||
catch(err){
|
||||
}
|
||||
} else {
|
||||
if (uselink) {
|
||||
var a = $("<a />").attr('href', '/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=' + $(mydiv).attr("class"));
|
||||
|
|
|
@ -28,6 +28,13 @@ KOHA.LocalCover = {
|
|||
'/cgi-bin/koha/opac-image.pl?thumbnail=1&biblionumber=' + $(mydiv).attr("class"))
|
||||
.load(function () {
|
||||
if (!this.complete || typeof this.naturalWidth == "undefined" || this.naturalWidth == 0) {
|
||||
//IE HACK
|
||||
try {
|
||||
$(mydiv).append(img);
|
||||
$(mydiv).children('.no-image').remove();
|
||||
}
|
||||
catch(err){
|
||||
};
|
||||
} else {
|
||||
if (uselink) {
|
||||
var a = $("<a />").attr('href', '/cgi-bin/koha/opac-imageviewer.pl?biblionumber=' + $(mydiv).attr("class"));
|
||||
|
|
Loading…
Reference in a new issue