Changeset 410 for Dev/branches/rest-dojo-ui/client/rft/pages/index.js
- Timestamp:
- 09/07/12 16:59:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/client/rft/pages/index.js
r407 r410 1 1 define([ 2 2 'dojo/_base/declare', 3 '../app/ Controller',3 '../app/Router', 4 4 '../app/Page', 5 5 'dojo/text!./index.html' 6 ],function(declare, Controller,Page,template){6 ],function(declare,Router,Page,template){ 7 7 return declare([Page],{ 8 8 templateString: template, … … 11 11 if ( this._started ) { return; } 12 12 this.inherited(arguments); 13 this.btnContentCreate.on("click",function(){ Controller.go("/sessions"); });14 this.btnContentFacilitate.on("click",function(){ Controller.go("/run"); });15 this.btnSurveys.on("click",function(){ Controller.go("/surveys"); });16 this.btnQuestions.on("click",function(){ Controller.go("/questions"); });17 this.btnApplications.on("click",function(){ Controller.go("/applications"); });18 this.btnDashboards.on("click",function(){ Controller.go("/dashboards"); });19 this.btnResults.on("click",function(){ Controller.go("/results"); });13 this.btnContentCreate.on("click",function(){ Router.go("/sessions"); }); 14 this.btnContentFacilitate.on("click",function(){ Router.go("/run"); }); 15 this.btnSurveys.on("click",function(){ Router.go("/surveys"); }); 16 this.btnQuestions.on("click",function(){ Router.go("/questions"); }); 17 this.btnApplications.on("click",function(){ Router.go("/applications"); }); 18 this.btnDashboards.on("click",function(){ Router.go("/dashboards"); }); 19 this.btnResults.on("click",function(){ Router.go("/results"); }); 20 20 } 21 21 });
Note: See TracChangeset
for help on using the changeset viewer.