Last change
on this file was
466,
checked in by hendrikvanantwerpen, 12 years ago
|
Added authentication (fixed user now).
|
File size:
413 bytes
|
Rev | Line | |
---|
[466] | 1 | define([ |
---|
| 2 | "../app/Router", |
---|
| 3 | "dijit/MenuItem", |
---|
| 4 | "dojo/_base/declare", |
---|
| 5 | "dojo/_base/event" |
---|
| 6 | ], function(Router, MenuItem, declare, event) { |
---|
[443] | 7 | return declare([MenuItem],{ |
---|
| 8 | options:{ |
---|
| 9 | path: null |
---|
| 10 | }, |
---|
[466] | 11 | onClick: function(evt) { |
---|
[443] | 12 | if ( this.path ) { Router.go(this.path); } |
---|
[466] | 13 | if ( evt ) { event.stop(evt); } |
---|
| 14 | return false; |
---|
[443] | 15 | } |
---|
| 16 | }); |
---|
| 17 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.