ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 7741


Ignore:
Timestamp:
Jul 18, 2008, 1:33:51 PM (13 years ago)
Author:
ebihara
Message:

#2627:r7695 の対策を、 IE の場合のみに限定しておこなうよう修正

Location:
OpenPNE/trunk/public_html/cmd/openpne
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/public_html/cmd/openpne/pc_page_fh_album.js

    r7695 r7741  
    99
    1010    var xml_url = openpne_url + "?m=pc&a=page_fh_album_output_xml&target_c_album_id=" + target_c_album_id;
     11
     12    var request_headers = [];
     13    if (Prototype.Browser.IE) {
     14        request_headers.push('If-Modified-Since', 'Thu, 01 Jun 1970 00:00:00 GMT');
     15    }
     16
    1117    new Ajax.Request(xml_url, {
    1218        asynchronous : false ,
     
    5864        },
    5965
    60         requestHeaders: ['If-Modified-Since', 'Thu, 01 Jun 1970 00:00:00 GMT']
     66        requestHeaders: request_headers
    6167    });
    6268}
  • OpenPNE/trunk/public_html/cmd/openpne/pc_page_fh_album_image_show.js

    r7695 r7741  
    77    var openpne_url = RegExp.$1;
    88    var target_c_album_image_id = RegExp.$2;
     9
     10    var request_headers = [];
     11    if (Prototype.Browser.IE) {
     12        request_headers.push('If-Modified-Since', 'Thu, 01 Jun 1970 00:00:00 GMT');
     13    }
    914
    1015    var xml_url = openpne_url + "?m=pc&a=page_fh_album_image_show_output_xml&target_c_album_image_id=" + target_c_album_image_id;
     
    4045        },
    4146
    42         requestHeaders: ['If-Modified-Since', 'Thu, 01 Jun 1970 00:00:00 GMT']
     47        requestHeaders: request_headers
    4348    });
    4449}
Note: See TracChangeset for help on using the changeset viewer.