96fe320cec60c965e390f878193116b7dc8e9634.svn-base 520 B

1234567891011121314151617181920
  1. /*
  2. * Ext JS Library 2.0 Copyright(c) 2006-2007, Ext JS, LLC. licensing@extjs.com
  3. *
  4. * http://extjs.com/license
  5. */
  6. Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {
  7. readCookies : function() {
  8. if (this.state) {
  9. for (var k in this.state) {
  10. if (typeof this.state[k] == 'string') {
  11. this.state[k] = this.decodeValue(this.state[k]);
  12. }
  13. }
  14. }
  15. return Ext.apply(this.state || {},
  16. Ext.state.SessionProvider.superclass.readCookies
  17. .call(this));
  18. }
  19. });