Sha256: 2b9446f5b82b273e92c67cc0af38042f496e565bdd7daa09175139107e7d43a1
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
/* --- script: Date.js description: Date picker license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Widget.Input provides: [LSD.Widget.Input.Date] ... */ LSD.Widget.Input.Date = new Class({ Extends: LSD.Trait.Date, options: { attributes: { type: 'date' }, dialogs: { } }, initializers: { date: function() { this.setDate(this.getDate()); } }, setDate: function(date) { this.parent.apply(this, arguments); if (date) this.element.set('value', this.formatDate(date)); if (this.dialog) this.dialog.setDate(date); } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lsd_rails-0.1.2 | Packages/lsd-widgets/Source/Input/Date.js |
lsd_rails-0.1.1 | Packages/lsd-widgets/Source/Input/Date.js |
lsd_rails-0.1 | Packages/lsd-widgets/Source/Input/Date.js |