source: Dev/branches/rest-dojo-ui/client/rft/ui/MenuLink.js @ 367

Last change on this file since 367 was 367, checked in by jkraaijeveld, 13 years ago

Session page now has support for autocompletion (currently works on question titles but can change it easily if we introduce users).

File size: 291 bytes
Line 
1define(['dojo/_base/declare','dijit/MenuItem','../content'],
2function(declare,MenuItem,content){
3    return declare('rft.ui.MenuLink',[MenuItem],{
4        options:{
5            pageId: null
6        },
7        onClick: function(){
8            content.goTo(this.pageId);
9        }
10    });
11});
Note: See TracBrowser for help on using the repository browser.