some clean up/ modifying comments
This commit is contained in:
parent
68a22453a8
commit
e6411f76a3
@ -34,15 +34,15 @@ define(['jquery',
|
||||
this.lessonView.render();
|
||||
//load cookies/parameters view
|
||||
|
||||
//load help view
|
||||
//load title view (initially hidden)
|
||||
|
||||
//load title
|
||||
//plan view (initially hidden)
|
||||
|
||||
//plan
|
||||
//solution view (initially hidden)
|
||||
|
||||
//solution
|
||||
//source (initially hidden)
|
||||
|
||||
//source
|
||||
//load help controls view (contextul to what helps are available)
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user