Changeset 6436

Show
Ignore:
Timestamp:
07/15/08 12:04:22 (6 months ago)
Author:
inureyes
Message:

#1054

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.7/interface/owner/entry/index.php

    r6298 r6436  
    305305                                    var request = new HTTPRequest("POST", "<?php echo $blogURL;?>/owner/entry/protect/" + id); 
    306306                                    request.onSuccess = function () { 
    307                                         objTable = getParentByTagName("TABLE", getObject("protectedSettingIcon_" + id)); 
    308                                         objTr = getParentByTagName("TR", getObject("protectedSettingIcon_" + id)); 
     307                                        objTable = getParentByTagName("TABLE", getObject("protectedIcon_" + id)); 
     308                                        objTr = getParentByTagName("TR", getObject("protectedIcon_" + id)); 
    309309                                        objTable.deleteRow(objTr.rowIndex + 1); 
    310                                          
    311                                         document.getElementById("protectedSettingIcon_" + id).className = "protect-off-button button"; 
    312310                                    } 
    313311                                    request.onError = function () {