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

Omgevingsbewustzijnde schalingsfunctie

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.