Changeset 6713

Show
Ignore:
Timestamp:
09/21/08 13:20:31 (18 months ago)
Author:
inureyes
Message:

refs #608

  • 비어있는 상태에서 필터를 추가하면 설명이 지워지도록 함.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/setting/filter/index.php

    r6712 r6713  
    5656                                    <div class="filtering-words"> 
    5757                                        <table cellpadding="0" cellspacing="0"> 
    58                                             <tbody id="filterbox-<?php echo $mode;?>"> 
     58                                            <tbody id="filterbox-<?php echo $mode;?>"<?php echo (empty($filtersList) ? ' class="empty"' : '');?>> 
    5959<?php 
    6060    if ($filtersList) { 
     
    129129                                            tr.appendChild(td); 
    130130                                            parent.appendChild(tr); 
     131                                            parent.className = "empty"; 
    131132                                        } 
    132133                                    } 
     
    204205                                        caller = document.getElementById(callerId); 
    205206 
    206 //                                      if(caller.rows.length == 1) { 
     207                                        if((caller.rows.length == 1) && (caller.className == "empty")) { 
    207208// TODO : Case for EMPTY -> ADD -> DELETE -> ADD.. 
    208 //                                          caller.removeChild(caller); 
    209 //                                      } 
     209                                            caller.removeChild(caller); 
     210                                        } 
    210211                                        var tr = document.createElement("tr"); 
    211212                                        tr.className = "odd-line inactive-class";