{"size": 613, "ext": "js", "max_stars_repo_path": "web/assets/js/views/OrderSubPage.js", "max_stars_repo_name": "vanderbilt/healthpro", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web/assets/js/views/OrderSubPage.js", "max_issues_repo_name": "vanderbilt/healthpro", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web/assets/js/views/OrderSubPage.js", "max_forks_repo_name": "vanderbilt/healthpro", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.8636363636, "max_line_length": 59, "alphanum_fraction": 0.5791190865}
/**
 * Order sub page form view
 */
PMI.views['OrderSubPage'] = Backbone.View.extend({
    events: {
        "click .toggle-help-image": "displayHelpModal",
        "click #unlock-order": "displayUnlockWarningModal",
    },
    displayHelpModal: function(e) {
        this.$('#orderHelpModal').modal();
    },
    displayUnlockWarningModal: function (e) {
        var url = $(e.currentTarget).data('href');
        $('#unlock-continue').attr('href', url);
        this.$('#unlockWarningModal').modal();
    },
    initialize: function() { this.render(); },
    render: function() {
        return this;
    }
});
