Changeset 466 for Dev/trunk/src/client/qed-client/ui
- Timestamp:
- 06/26/13 14:43:57 (12 years ago)
- Location:
- Dev/trunk/src/client/qed-client/ui
- Files:
-
- 4 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/client/qed-client/ui/MenuLink.js
r443 r466 1 define(['dojo/_base/declare','dijit/MenuItem','../app/Router' 2 ], function(declare,MenuItem,Router) { 1 define([ 2 "../app/Router", 3 "dijit/MenuItem", 4 "dojo/_base/declare", 5 "dojo/_base/event" 6 ], function(Router, MenuItem, declare, event) { 3 7 return declare([MenuItem],{ 4 8 options:{ 5 9 path: null 6 10 }, 7 onClick: function( ) {11 onClick: function(evt) { 8 12 if ( this.path ) { Router.go(this.path); } 13 if ( evt ) { event.stop(evt); } 14 return false; 9 15 } 10 16 }); -
Dev/trunk/src/client/qed-client/ui/templates/MainMenu.html
r443 r466 12 12 </div> 13 13 <div class="rftMainMenuButton" data-dojo-type="./MenuBarLink" data-dojo-props="path:'/results'">Results</div> 14 <div class="rftMainMenuButton" data-dojo-type="./ MenuBarLink">Logout</div>14 <div class="rftMainMenuButton" data-dojo-type="./SessionMenu"></div> 15 15 </div> 16 16 </div>
Note: See TracChangeset
for help on using the changeset viewer.