git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
40 lines
979 B
JavaScript
40 lines
979 B
JavaScript
/*
|
|
* Ext JS Library 2.3.0
|
|
* Copyright(c) 2006-2009, Ext JS, LLC.
|
|
* licensing@extjs.com
|
|
*
|
|
* http://extjs.com/license
|
|
*/
|
|
|
|
/**
|
|
* @class Ext.form.Hidden
|
|
* @extends Ext.form.Field
|
|
* A basic hidden field for storing hidden values in forms that need to be passed in the form submit.
|
|
* @constructor
|
|
* Create a new Hidden field.
|
|
* @param {Object} config Configuration options
|
|
*/
|
|
Ext.form.Hidden = Ext.extend(Ext.form.Field, {
|
|
// private
|
|
inputType : 'hidden',
|
|
|
|
// private
|
|
onRender : function(){
|
|
Ext.form.Hidden.superclass.onRender.apply(this, arguments);
|
|
},
|
|
|
|
// private
|
|
initEvents : function(){
|
|
this.originalValue = this.getValue();
|
|
},
|
|
|
|
// These are all private overrides
|
|
setSize : Ext.emptyFn,
|
|
setWidth : Ext.emptyFn,
|
|
setHeight : Ext.emptyFn,
|
|
setPosition : Ext.emptyFn,
|
|
setPagePosition : Ext.emptyFn,
|
|
markInvalid : Ext.emptyFn,
|
|
clearInvalid : Ext.emptyFn
|
|
});
|
|
Ext.reg('hidden', Ext.form.Hidden); |