lib/flapjack/gateways/web/public/js/modules/medium.js in flapjack-1.1.0 vs lib/flapjack/gateways/web/public/js/modules/medium.js in flapjack-1.2.0rc1
- old
+ new
@@ -4,9 +4,10 @@
var app = flapjack.app;
Medium.Model = Backbone.JSONAPIModel.extend({
name: 'media',
initialize: function(){
+ Backbone.JSONAPIModel.prototype.initialize.apply(this, arguments);
this.on('change', this.setDirty, this);
},
defaults: {
type: null,
address: '',