Changeset 4288 for sandbox

Show
Ignore:
Timestamp:
06/17/2008 10:05:20 AM (3 months ago)
Author:
zero
Message:

resize_image 애드온이 스프링노트 모듈의 내용에서 동작하지 않는 문제 해결 및 js 오류 수정

Location:
sandbox
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • sandbox/addons/resize_image/js/resize_image.js

    r4268 r4288  
    2727                var parent = obj.parentNode; 
    2828                while(parent) { 
    29                     if(/(document|comment)_([0-9]+)_([0-9]+)/i.test(parent.className) ) break; 
     29                    if(/(document|comment)_([0-9]*)_([0-9]*)/i.test(parent.className) ) break; 
    3030                    parent = parent.parentNode; 
    3131                } 
     32                if(!parent) continue; 
    3233 
    3334                var dummy = xCreateElement("div"); 
  • sandbox/modules/springnote/skins/xe_official/list.html

    r4059 r4288  
    106106    <div class="pageView"> 
    107107        <!--BeforeDocument({$pageid},0)--> 
    108         <div class="document_{$pageid}_0 xhtmlEditorBody background_no"> 
     108        <div class="document_{$pageid}_0 xhtmlEditorBody background_no xe_content"> 
    109109            {$page->source} 
    110110        </div>