source: trunk/web/addons/job_monarch/lib/extjs/source/widgets/form/Hidden.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: 1018 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
9/**
10 * @class Ext.form.Hidden
11 * @extends Ext.form.Field
12 * A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
13 * @constructor
14 * Create a new Hidden field.
15 * @param {Object} config Configuration options
16 */
17Ext.form.Hidden = Ext.extend(Ext.form.Field, {
18    // private
19    inputType : 'hidden',
20
21    // private
22    onRender : function(){
23        Ext.form.Hidden.superclass.onRender.apply(this, arguments);
24    },
25
26    // private
27    initEvents : function(){
28        this.originalValue = this.getValue();
29    },
30
31    // These are all private overrides
32    setSize : Ext.emptyFn,
33    setWidth : Ext.emptyFn,
34    setHeight : Ext.emptyFn,
35    setPosition : Ext.emptyFn,
36    setPagePosition : Ext.emptyFn,
37    markInvalid : Ext.emptyFn,
38    clearInvalid : Ext.emptyFn
39});
40Ext.reg('hidden', Ext.form.Hidden);
Note: See TracBrowser for help on using the repository browser.