Changeset 358 for Dev/branches/rest-dojo-ui/client/rft/ui
- Timestamp:
- 07/12/12 14:39:26 (13 years ago)
- Location:
- Dev/branches/rest-dojo-ui/client/rft/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/Selector.js
r355 r358 72 72 }, 73 73 _toggleDropdown: function() { 74 75 74 var node = this.optionsNode; 76 75 var show = fx.wipeIn({ … … 104 103 }, 105 104 addQuestion: function(questionId) { 106 var question = this.controller. GetQuestion(questionId);105 var question = this.controller.getQuestion(questionId); 107 106 if (question) { 108 107 var w = new LineWithActionsWidget({ … … 121 120 }); 122 121 w.placeAt(this.optionsNode); 123 w.on(" Click", lang.hitch(this, function(){122 w.on("click", lang.hitch(this, function(){ 124 123 this.selectQuestion(questionId); 125 124 this._toggleDropdown(); … … 129 128 }, 130 129 infoFunction: function(selector) { 131 var question = selector.controller. GetQuestion(this.questionId);130 var question = selector.controller.getQuestion(this.questionId); 132 131 console.log(question); 133 132 alert("Some info here!"); … … 142 141 selectQuestion: function(questionId) { 143 142 /* TODO: TEST THOROUGHLY! */ 144 var question = this.controller. GetQuestion(questionId);143 var question = this.controller.getQuestion(questionId); 145 144 if (question) { 146 145 this.currentlySelectedId = questionId; -
Dev/branches/rest-dojo-ui/client/rft/ui/SurveyListView.js
r356 r358 73 73 creatorMethod: function(controller, listView, item, hint) { 74 74 var node, 75 object = controller. GetQuestion(item);75 object = controller.getQuestion(item); 76 76 if (!object) { 77 77 return false; … … 100 100 "Info" : { 101 101 callback: function(){ 102 var question = controller. GetQuestion(item);102 var question = controller.getQuestion(item); 103 103 console.log(question); 104 104 alert("info goes here yo!");
Note: See TracChangeset
for help on using the changeset viewer.