(function (FMS, Backbone, _, $) {
    _.extend( FMS, {
        ExistingView: FMS.FMSView.extend({
            template: 'existing',
            id: 'existing',

            events: {
                'pagehide': 'destroy',
                'pagebeforeshow': 'beforeDisplay',
                'pageshow': 'afterDisplay',
                'vclick #use_report': 'useReport',
                'vclick #save_report': 'saveReport',
                'vclick #discard': 'discardReport'
            },

            useReport: function(e) {
                e.preventDefault();
                FMS.setCurrentDraft(this.model);
                this.navigate('around');
            },

            saveReport: function(e) {
                e.preventDefault();
                FMS.clearCurrentDraft();
                this.navigate('around');
            },

            discardReport: function(e) {
                e.preventDefault();
                var reset = FMS.removeDraft(this.model.id, true);
                var that = this;
                reset.done( function() { that.onDraftRemove(); } );
                reset.fail( function() { that.onDraftRemove(); } );
            },

            onDraftRemove: function() {
                FMS.clearCurrentDraft();
                this.navigate( 'around', 'left' );
            }
        })
    });
})(FMS, Backbone, _, $);

@@ -473,32 +473,159 @@
             %7D,%0A%0A
+            setHeight: function(content, height) %7B%0A                content.css( 'min-height', content + 'px');%0A            %7D,%0A%0A
             useR

set existing page height using minimum height