source: trunk/web/addons/job_monarch/lib/extjs/examples/remoteload/EmployeeDetailsTab.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: 447 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.ns('App');
10
11App.EmployeeDetailsTab = Ext.extend(Ext.TabPanel, {
12        load: function(employeeId) {
13                this.items.each(function(i) {
14                        if (i.load) {
15                                i.load({
16                                        params: {
17                                                employeeId: employeeId
18                                        }
19                                });                             
20                        }
21                });
22        }
23});
24Ext.reg('employeedetailstab', App.EmployeeDetailsTab);
Note: See TracBrowser for help on using the repository browser.