Changeset 338 for Dev/branches/rest-dojo-ui/client/rft/ui/SelectorThijs.js
- Timestamp:
- 06/04/12 16:18:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/ui/SelectorThijs.js
r335 r338 26 26 title: "The professional as a participant", 27 27 baseClass: 'rftSelector', 28 color: 'red', // This is hardcoded for now, will serve as default value later! (Selector defaults to blue!) Only affects color of lineWithActions28 modifiers: 'blue', // Extra CSS classes 29 29 postCreate: function() { 30 domClass.add(this.domNode, this.modifiers); 31 domClass.add(this.selectedColorNode, "pending"); 30 32 var infoFunction = function() { 31 33 alert("Show info here"); … … 33 35 new LineWithActionsWidget({ 34 36 title: this.title, 35 color: this.color,37 modifiers: this.modifiers, 36 38 actions: { 37 39 "Accept" : { … … 39 41 properties: { 40 42 blockButton: true, 41 color: this.color43 modifiers: this.modifiers 42 44 } 43 45 } … … 46 48 var selectorLine = new LineWithActionsWidget({ 47 49 title: 'None', 48 color: this.color,50 modifiers: this.modifiers, 49 51 actions: { 50 52 "HalfArrowDown" : { … … 84 86 properties: { 85 87 blockButton: true, 86 color: this.color,88 modifiers: this.modifiers, 87 89 showLabel: false 88 90 } … … 102 104 } 103 105 }).placeAt(this.optionsNode); 104 /*105 new LineWithActionsWidget({106 title: 'Do you personally know ithers present at the current session?',107 actions: {108 "Inspect" : infoFunction109 }110 }).placeAt(this.optionsNode);111 new LineWithActionsWidget({112 title: 'Have you worked with other participants before?',113 actions: {114 "Inspect" : infoFunction115 }116 }).placeAt(this.optionsNode);117 */118 106 } 119 107 });
Note: See TracChangeset
for help on using the changeset viewer.