浏览代码

fix #1190 remove noimage

Shinsuke Sugaya 8 年之前
父节点
当前提交
e526fc87c7
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 4 0
      src/main/webapp/css/style.css
  2. 2 1
      src/main/webapp/js/search.js

+ 4 - 0
src/main/webapp/css/style.css

@@ -250,6 +250,10 @@ ul.searchOptionLabels li {
 	border-radius: 0px;
 	border-radius: 0px;
 }
 }
 
 
+img.thumbnail {
+	width: 100px;
+}
+
 .thumbnail {
 .thumbnail {
 	background-position: 50% 50%;
 	background-position: 50% 50%;
 	background-repeat: no-repeat;
 	background-repeat: no-repeat;

+ 2 - 1
src/main/webapp/js/search.js

@@ -216,7 +216,8 @@ $(function() {
 					loadImage(img, url, --limit);
 					loadImage(img, url, --limit);
 				}, IMG_LOADING_DELAY);
 				}, IMG_LOADING_DELAY);
 			} else {
 			} else {
-				$(img).attr('src', contextPath + "/images/noimage.png");
+				// $(img).attr('src', contextPath + "/images/noimage.png");
+				$(img).parent().css('display', 'none');
 			}
 			}
 			imgData = null;
 			imgData = null;
 		});
 		});