Ignore:
Timestamp:
07/12/12 14:39:26 (13 years ago)
Author:
tjcschipper
Message:

Omgevingsbewustzijnde schalingsfunctie

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  
    7272            },
    7373            _toggleDropdown: function() {
    74 
    7574                var node = this.optionsNode;
    7675                var show = fx.wipeIn({
     
    104103            },
    105104            addQuestion: function(questionId) {
    106                 var question = this.controller.GetQuestion(questionId);
     105                var question = this.controller.getQuestion(questionId);
    107106                if (question) {
    108107                    var w = new LineWithActionsWidget({
     
    121120                    });
    122121                    w.placeAt(this.optionsNode);
    123                     w.on("Click", lang.hitch(this, function(){
     122                    w.on("click", lang.hitch(this, function(){
    124123                        this.selectQuestion(questionId);
    125124                        this._toggleDropdown();
     
    129128            },
    130129            infoFunction: function(selector) {
    131                 var question = selector.controller.GetQuestion(this.questionId);
     130                var question = selector.controller.getQuestion(this.questionId);
    132131                console.log(question);
    133132                alert("Some info here!");
     
    142141            selectQuestion: function(questionId) {
    143142                /* TODO: TEST THOROUGHLY! */
    144                 var question = this.controller.GetQuestion(questionId);
     143                var question = this.controller.getQuestion(questionId);
    145144                if (question) {
    146145                    this.currentlySelectedId = questionId;
  • Dev/branches/rest-dojo-ui/client/rft/ui/SurveyListView.js

    r356 r358  
    7373                        creatorMethod: function(controller, listView, item, hint) {
    7474                                var node,
    75                                 object = controller.GetQuestion(item);
     75                                object = controller.getQuestion(item);
    7676                                if (!object) {
    7777                                        return false;
     
    100100                                                        "Info" : {
    101101                                                                callback: function(){
    102                                                                         var question = controller.GetQuestion(item);
     102                                                                        var question = controller.getQuestion(item);
    103103                                                                        console.log(question);
    104104                                                                        alert("info goes here yo!");
Note: See TracChangeset for help on using the changeset viewer.