Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showStandardAssessment() {
- // Deselect tabs
- // Gto to tab 4 when pulling up a saved report
- // Groups legend on demographic screen - wrong size?
- if ( $("#saved_report").val() ) {
- // Wizard: Go to Step 4
- //refreshGroupsFromSavedReport();
- //displayReportBySavedReport( $("#saved_report").val() );
- $("#wizard").smartWizard('enableStep', 2);
- $("#wizard").smartWizard('goToStep', 3);
- return true;
- }
- ...
- }
- function leave_step_callback(obj, context) {
- var to_step = context.toStep;
- var step = context.fromStep; // Where you came from.
- if ( $("#saved_report").val() ) {
- if ( step == 1 ) {
- alert('hi ' + step + ' and ' + to_step);
- showStandardAssessment();
- }
- return true;
- }
- .....
- }
Add Comment
Please, Sign In to add comment