mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
716a09a452
- Added file upload component - Added import client logic - Added e-mail sending client logic - Added settings model
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
export default Ember.View.extend({
|
|
tagName: 'form',
|
|
attributeBindings: ['enctype'],
|
|
reset: function () {
|
|
this.$().get(0).reset();
|
|
},
|
|
didInsertElement: function () {
|
|
this.get('controller').on('reset', this, this.reset);
|
|
},
|
|
willClearRender: function () {
|
|
this.get('controller').off('reset', this, this.reset);
|
|
}
|
|
});
|