source: trunk/web/addons/job_monarch/lib/extjs-30/examples/state/SessionProvider.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 574 bytes
Line 
1/*!
2 * Ext JS Library 3.0.0
3 * Copyright(c) 2006-2009 Ext JS, LLC
4 * licensing@extjs.com
5 * http://www.extjs.com/license
6 */
7Ext.state.SessionProvider = Ext.extend(Ext.state.CookieProvider, {
8    readCookies : function(){
9        if(this.state){
10            for(var k in this.state){
11                if(typeof this.state[k] == 'string'){
12                    this.state[k] = this.decodeValue(this.state[k]);
13                }
14            }
15        }
16        return Ext.apply(this.state || {}, Ext.state.SessionProvider.superclass.readCookies.call(this));
17    }
18});
Note: See TracBrowser for help on using the repository browser.