public/build/static/application.js
function() {
            var that = this;

            return that.reports.loadAll()
            .then(function() {
                return dialogs.select(
                    i18n.t("reports.select.title"),
                    i18n.t("reports.select.message"),
                    _.object(that.reports.map(function(r) {
                        return [
                            r.get("id"),
                            r.get("title")
                        ]
                    })),
                    that.report.get("id")
                );
            })
            .then(function(rId) {
                hr.History.navigate("report/"+rId);
            });
        }
function() {
            var that = this;

            return that.reports.loadAll()
            .then(function() {
                return dialogs.select(
                    i18n.t("reports.select.title"),
                    i18n.t("reports.select.message"),
                    _.object(that.reports.map(function(r) {
                        return [
                            r.get("id"),
                            r.get("title")
                        ]
                    })),
                    that.report.get("id")
                );
            })
            .then(function(rId) {
                hr.History.navigate("report/"+rId);
            });
        }
function ( ) { var that = this ; return that . reports . loadAll ( ) . then ( function ( ) { return dialogs . select ( i18n . t ( "reports.select.title" ) , i18n . t ( "reports.select.message" ) , _ . object ( that . reports . map ( function ( r ) { return [ r . get ( "id" ) , r . get ( "title" ) ] } ) ) , that . report . get ( "id" ) ) ; } ) . then ( function ( rId ) { hr . History . navigate ( "report/" + rId ) ; } ) ; }
Change current report
Change current report