Permalink
Browse files

Remove the css background when images are uploaded

  • Loading branch information...
1 parent 8c2f089 commit e1ccf002a2f868436c6570f33526fdb8dc23a6d1 @haraldpdl haraldpdl committed Aug 4, 2011
@@ -85,7 +85,7 @@ function loadImageSelector() {
loadImageSelector();
- $('#cImage').html('<img src="public/upload/' + fileName + '" alt="' + fileName + '" title="' + fileName + '" onclick="window.open(this.src);" /><input type="hidden" name="cImageSelected" value="' + fileName + '" />');
+ $('#cImage').css('backgroundImage', 'none').html('<img src="public/upload/' + fileName + '" alt="' + fileName + '" title="' + fileName + '" onclick="window.open(this.src);" /><input type="hidden" name="cImageSelected" value="' + fileName + '" />');
}
});
});
@@ -80,7 +80,7 @@ function loadImageSelector() {
loadImageSelector();
- $('#cImage').html('<img src="public/upload/' + fileName + '" alt="' + fileName + '" title="' + fileName + '" onclick="window.open(this.src);" /><input type="hidden" name="cImageSelected" value="' + fileName + '" />');
+ $('#cImage').css('backgroundImage', 'none').html('<img src="public/upload/' + fileName + '" alt="' + fileName + '" title="' + fileName + '" onclick="window.open(this.src);" /><input type="hidden" name="cImageSelected" value="' + fileName + '" />');
}
});
});

0 comments on commit e1ccf00

Please sign in to comment.