source: trunk/web/addons/job_monarch/lib/extjs/examples/state/SessionProvider.js @ 619

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

lib/:

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