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

            return dialogs.confirm(i18n.t("reports.remove.title"))
            .then(function() {
                return that.report.remove();
            })
            .then(function() {
                that.report.clear();
                return that.reports.loadAll();
            })
            .then(function() {
                that.update();
            })
            .fail(dialogs.error);
        }
function() {
            var that = this;

            return dialogs.confirm(i18n.t("reports.remove.title"))
            .then(function() {
                return that.report.remove();
            })
            .then(function() {
                that.report.clear();
                return that.reports.loadAll();
            })
            .then(function() {
                that.update();
            })
            .fail(dialogs.error);
        }
function ( ) { var that = this ; return dialogs . confirm ( i18n . t ( "reports.remove.title" ) ) . then ( function ( ) { return that . report . remove ( ) ; } ) . then ( function ( ) { that . report . clear ( ) ; return that . reports . loadAll ( ) ; } ) . then ( function ( ) { that . update ( ) ; } ) . fail ( dialogs . error ) ; }
Remove current report
Remove current report