extInit.js (tine20-2020.08.3) | : | extInit.js (tine20-2020.08.4) | ||
---|---|---|---|---|
skipping to change at line 77 | skipping to change at line 77 | |||
}; | }; | |||
Ext.apply(Ext.data.JsonStore.prototype, { | Ext.apply(Ext.data.JsonStore.prototype, { | |||
url: 'index.php', | url: 'index.php', | |||
root: 'results', | root: 'results', | |||
idProperty: 'id', | idProperty: 'id', | |||
totalProperty: 'totalcount' | totalProperty: 'totalcount' | |||
}); | }); | |||
/** | /** | |||
* add more options to Ext.form.ComboBox | ||||
*/ | ||||
Ext.form.ComboBox.prototype.initComponent = Ext.form.ComboBox.prototype.initComp | ||||
onent.createSequence(function() { | ||||
if (this.expandOnFocus) { | ||||
this.lazyInit = false; | ||||
this.on('focus', function(){ | ||||
this.onTriggerClick(); | ||||
}); | ||||
} | ||||
if (this.blurOnSelect){ | ||||
this.on('select', function(){ | ||||
this.blur(true); | ||||
this.fireEvent('blur', this); | ||||
}, this); | ||||
} | ||||
}); | ||||
Ext.form.ComboBox.prototype.triggerAction = 'all'; | ||||
/** | ||||
* additional date patterns | * additional date patterns | |||
* @see{Date} | * @see{Date} | |||
*/ | */ | |||
Date.patterns = { | Date.patterns = { | |||
ISO8601Long:"Y-m-d H:i:s", | ISO8601Long:"Y-m-d H:i:s", | |||
ISO8601Short:"Y-m-d", | ISO8601Short:"Y-m-d", | |||
ISO8601Time:"H:i:s", | ISO8601Time:"H:i:s", | |||
ShortDate: "n/j/Y", | ShortDate: "n/j/Y", | |||
LongDate: "l, F d, Y", | LongDate: "l, F d, Y", | |||
FullDateTime: "l, F d, Y g:i:s A", | FullDateTime: "l, F d, Y g:i:s A", | |||
End of changes. 1 change blocks. | ||||
21 lines changed or deleted | 0 lines changed or added |