Changeset 495 for Dev/trunk/src/client/qed-client/pages/survey.js
- Timestamp:
- 03/10/14 00:47:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/pages/survey.js
r494 r495 31 31 'class': 'blue', 32 32 include: 'published', 33 selectedActions: { 34 "Include": { 35 callback: lang.hitch(this,this._includeQuestion), 36 icon: "Accept", 37 description: "Include in survey" 38 } 39 }, 40 itemActions: { 41 "Info": { 42 callback: function(item){ 43 if ( item.description ) { alert(item.description); } 44 }, 45 icon: "Inspect", 46 description: "Show item description" 47 } 48 } 33 getSelectedItemActions: lang.hitch(this,function() { 34 return { 35 "Include": { 36 callback: lang.hitch(this,this._includeQuestion), 37 icon: "Accept", 38 description: "Include in survey" 39 } 40 }; 41 }), 42 getItemActions: lang.hitch(this,function(item) { 43 return { 44 "Info": { 45 callback: lang.hitch(this,function(item){ 46 if ( item.description ) { alert(item.description); } 47 }), 48 icon: "Inspect", 49 description: "Show item description" 50 } 51 }; 52 }) 49 53 },this.questionBrowser); 50 54 this.questionBrowser.startup();
Note: See TracChangeset
for help on using the changeset viewer.