mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 05:14:56 +09:00
이미지 리사이즈 애드온에서 이전/ 다음 이미지를 보여줄때 나타나는 이미지 못 찾는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4922 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5b7ed0afeb
commit
71087ae1ba
1 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ function resizeImageContents() {
|
|||
for(var i=0;i<objs.length;i++) {
|
||||
var obj = objs[i];
|
||||
|
||||
// zbXE내부 프로그램 또는 스킨의 이미지라면 이미지 리사이즈를 하지 않음
|
||||
// XE내부 프로그램 또는 스킨의 이미지라면 이미지 리사이즈를 하지 않음
|
||||
if(!/\/(modules|addons|classes|common|layouts|libs|widgets)\//i.test(obj.src)) {
|
||||
var parent = obj.parentNode;
|
||||
while(parent) {
|
||||
|
|
@ -57,8 +57,8 @@ function resizeImageContents() {
|
|||
// 만약 대상 이미지에 링크가 설정되어 있거나 onclick 이벤트가 부여되어 있으면 원본 보기를 하지 않음
|
||||
if(obj.parentNode.nodeName.toLowerCase()!='a' && !obj.getAttribute('onclick')) xAddEventListener(obj,"click", showOriginalImage);
|
||||
|
||||
imageGalleryIndex[j][i] = obj.src;
|
||||
obj.setAttribute("rel", j+','+i);
|
||||
obj.setAttribute("rel", j+','+imageGalleryIndex[j].length);
|
||||
imageGalleryIndex[j][imageGalleryIndex[j].length] = obj.src;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue