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 | |
---|
1 | define(['dojo/_base/declare','dijit/MenuBarItem','../content'], |
---|
2 | function(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.