mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
8ce91adfb6
- 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);
|
|
}
|
|
});
|