//Create a view for the source
AV.UploadSourceView = Backbone.View.extend({
	el: '#upload_container',	
	initialize: function(){
		//this.listenTo(this.model, 'all', this.render);
	},

	render: function(){
		//compile the template using underscore
		var template = _.template( $("#upload_template").html(), {} );
		//Load the compiled HTML into the backbone "el"
		this.$el.html( template );
	},

	events: {
        "click #uploadButton": "upload",
	    
    },
    upload: function( event ){
		//Using attached model...
		this.model.set({data: $("#uploadContent").val()});
		/*this.model.save({success: _.bind(function() { 
			this.collection.fetch();
			test("andrew");
		}, this),
		error: test("ERRORRRR")});*/
		this.model.save().done(function() {alert("SAVED");});
		test(this.collection.fetch());
		
		test("ben");
	        this.render();
	}
});

// This object ties in with the "view_container" template
// in order to display a current version of the file
AV.ViewSourceView = Backbone.View.extend({
    el: "#view_container",
    template : _.template($("#view_template").html()),
    render: function() {
        console.log("About to render");
        console.log(this.model);
        console.log(this.model.attributes);
        this.$el.html(this.template({source: this.model}));
    },
    fetch: function(options) {
        this.clear({silent: true});
        return Backbone.Model.prototype.fetch.call(this, options);
    }
});


@@ -1288,149 +1288,8 @@
 ));%0A
-    %7D,%0A    fetch: function(options) %7B%0A        this.clear(%7Bsilent: true%7D);%0A        return Backbone.Model.prototype.fetch.call(this, options);%0A
     

Remove whimsical fetch overwrite