some clean up/ modifying comments
This commit is contained in:
parent
68a22453a8
commit
e6411f76a3
@ -34,15 +34,15 @@ define(['jquery',
|
|||||||
this.lessonView.render();
|
this.lessonView.render();
|
||||||
//load cookies/parameters view
|
//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,13 +23,7 @@ function($,_,Backbone,JQueryForm,LessonData) {
|
|||||||
//success: GoatUtils.showResponse // post-submit callback, comment out after debugging
|
//success: GoatUtils.showResponse // post-submit callback, comment out after debugging
|
||||||
success:this.reLoadView.bind(this),
|
success:this.reLoadView.bind(this),
|
||||||
url:'attack?Screen=' + this.model.get('screenParam') + '&menu=' + this.model.get('menuParam'),
|
url:'attack?Screen=' + this.model.get('screenParam') + '&menu=' + this.model.get('menuParam'),
|
||||||
// other available options:
|
type:'GET'
|
||||||
//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:
|
// $.ajax options can be used here too, for example:
|
||||||
//timeout: 3000
|
//timeout: 3000
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user