some clean up/ modifying comments

This commit is contained in:
Jason White 2015-06-10 21:35:43 -04:00
parent 68a22453a8
commit e6411f76a3
2 changed files with 9 additions and 15 deletions

View File

@ -33,16 +33,16 @@ define(['jquery',
this.lessonView.model = this.lessonContent;
this.lessonView.render();
//load cookies/parameters view
//load help view
//load title
//load title view (initially hidden)
//plan
//plan view (initially hidden)
//solution
//solution view (initially hidden)
//source
//source (initially hidden)
//load help controls view (contextul to what helps are available)
}
};

View File

@ -23,15 +23,9 @@ function($,_,Backbone,JQueryForm,LessonData) {
//success: GoatUtils.showResponse // post-submit callback, comment out after debugging
success:this.reLoadView.bind(this),
url:'attack?Screen=' + this.model.get('screenParam') + '&menu=' + this.model.get('menuParam'),
// other available options:
//url: url // override for form's 'action' attribute
//type: type // 'get' or 'post', override for form's 'method' attribute
//dataType: null // 'xml', 'script', or 'json' (expected server response type)
//clearForm: true // clear all form fields after successful submit
//resetForm: true // reset the form after successful submit
// $.ajax options can be used here too, for example:
//timeout: 3000
type:'GET'
// $.ajax options can be used here too, for example:
//timeout: 3000
};
//hook forms //TODO: clarify form selectors later
$("form").ajaxForm(options);