File.js 289 B

12345678910
  1. Ext.define('Ext.theme.graphite.form.field.File', {
  2. override: 'Ext.form.field.File',
  3. _pressedCls: 'x-form-field-file-buttononly',
  4. beforeRender: function() {
  5. this.callParent();
  6. if (this.buttonOnly) {
  7. this.addCls(this._pressedCls);
  8. }
  9. }
  10. });