source: Dev/branches/rest-dojo-ui/client/rft/ui/MenuBarLink.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 303 bytes
Line 
1define(['dojo/_base/declare','dijit/MenuBarItem','../content'],
2function(declare,MenuBarItem,content){
3    return declare('rft.ui.MenuBarLink',[MenuBarItem],{
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.