Ignore:
Timestamp:
06/23/13 13:59:15 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Working towards Heroku deployment, restructuring for that and to allow coffee builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/pages/surveyRun.js

    r457 r463  
    7272            var surveyRun = this.surveyRunWidget.get('value');
    7373            if ( surveyRun.mode === "open" ) {
    74                 this.runURLNode.innerHTML = this._link(this._getGeneralURL(store.getIdentity(this.surveyRun)));
     74                this.runURLNode.innerHTML =
     75                    this._link(this._getGeneralURL(store.getIdentity(this.surveyRun)));
    7576            } else {
    76                 this.runURLNode.innerHTML = "No general URL. Add individual respondents below.";
     77                this.runURLNode.innerHTML =
     78                    "No general URL. Add individual respondents below.";
    7779            }
    7880        },
     
    102104                });
    103105            }
    104             event.stop(evt);
     106            if ( evt ) { event.stop(evt); }
    105107            return false;
    106108        },
    107109        _onDiscard: function(evt) {
    108110            Router.go('/surveys');
     111            if ( evt ) { event.stop(evt); }
     112            return false;
     113        },
     114        _onExport: function(evt) {
     115            if ( evt ) { event.stop(evt); }
     116            return false;
    109117        }
    110118    });
Note: See TracChangeset for help on using the changeset viewer.