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

Changeset 10599 for OpenPNE3/trunk/apps


Ignore:
Timestamp:
Feb 3, 2009, 12:05:27 AM (14 years ago)
Author:
ebihara
Message:

#3555:fixed storing the current gadgets status doesn't work corrrectly when user's client is MS IE6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/modules/member/templates/homeSuccess.php

    r10593 r10599  
    6060      var size = Element.childElements(obj.parentNode).length;
    6161      if (size == index + 1) {  // It is a last loop maybe
     62        var path = "'.($sf_request->getRelativeUrlRoot() ? $sf_request->getRelativeUrlRoot() : '/').'";
    6263        var id = child.parentNode.parentNode.id;
    6364        var expires = new Date();
    6465        expires.setTime((new Date()).getTime() + (10 * 12 * 30 * 24 * 60 * 60 * 1000));
    65         opCookie.set("HomeGadget_"+id+"_toggle", child.visible(), expires);
     66        opCookie.set("HomeGadget_"+id+"_toggle", child.visible(), expires, path);
    6667      }
    6768    }
Note: See TracChangeset for help on using the changeset viewer.