         @$el.find('[data-action="viewObjectJSON"]').unbind('click').click (event) ->
             utils.viewJSON 'request', $(event.target).data('request-id')
 
-module.exports = RequestView+module.exports = RequestView

    initialize: =>
        @request = app.allRequests[@options.requestId]

        @requestTasksActive = new RequestTasks [], { requestId: @options.requestId, active: true }
        @requestTasksActive.fetch().done =>
            @fetchDoneActive = true
            @render()

        @requestTasksHistorical = new RequestTasks [], { requestId: @options.requestId, active: false }
        @requestTasksHistorical.fetch().done =>
            @fetchDoneHistorical = true
            @render()

    render: =>
        if not @request

                    ]
                )

                @historicalTasksPaginated.setElement $('.historical-tasks-paginated')[0]
                @historicalTasksPaginated.render()

                @setupEvents()

