Ignore:
Timestamp:
06/14/12 18:34:52 (13 years ago)
Author:
tjcschipper
Message:
  • Fixed callbacks/actions in LineWithActionsWidgetThijs?.js. Previously an onClick event would not fire the correct callback. They were also incorrectly bound to the context of the widget, so the this keyword referred to the properties object instead of the LineWithActions?.
  • Changed a bunch of stuff in CSS files, general layout.
  • Added another mockup page to show the Session selection page.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/SelectorThijs.js

    r338 r342  
    3737                    modifiers: this.modifiers,
    3838                    actions: {
    39                         "Accept" : {
     39                        "AddToSurvey" : {
    4040                            callback: function(arg){},
    4141                            properties: {
    4242                                blockButton: true,
    43                                 modifiers: this.modifiers
     43                                modifiers: this.modifiers,
     44                                icon: "Accept",
     45                                label: "Include"
    4446                            }
    4547                        }
     
    5052                    modifiers: this.modifiers,
    5153                    actions: {
    52                         "HalfArrowDown" : {
     54                        "ToggleDropdown" : {
    5355                            callback: lang.hitch(this,function(){
    5456                                var node = this.optionsNode;
     
    8789                                blockButton: true,
    8890                                modifiers: this.modifiers,
    89                                 showLabel: false
     91                                showLabel: false,
     92                                icon: "HalfArrowDown"
    9093                            }
    9194                        }
     
    9598                    title: 'Are there direct colleagues among the other participants?',
    9699                    actions: {
    97                         "Inspect" : {
     100                        "InfoHover" : {
    98101                            callback: infoFunction,
    99102                            properties: {
    100103                                blockButton: false,
    101                                 showLabel: false
     104                                showLabel: false,
     105                                icon: "Inspect"
    102106                            }
    103107                        }
Note: See TracChangeset for help on using the changeset viewer.