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

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

Next steps to actually make taking surveys possible.

Split Controller in Router and Content. Updated the view.html to work
with the new app/Content mechanism. Include view page in build profile.

Rearranged Couch design documents per type. Changed config tool so the
docs.js can be more readable, functions don't have to be on one line
anymore but are serialized later. Because the .htaccess proxy is limited
to the rft database for security reasons, the config tool has to be run
on Node.js, to be able to access the Couch port (which is limited by
cross domain security in the browser).

Added elastic search to .htaccess proxy as well. Seperated CouchStore?
from rft/store, which contains application specific data.

Removed some old API files that were hanging around still.

Introduced preview mode for viewSurvey page. Changed survey page to
only show published questions to be included. The surveys page has
three categories: drafts, published and runs. Creating survey runs is
not yet implemented.

File size: 290 bytes
Line 
1define(['dojo/_base/declare','dijit/MenuBarItem','../app/Router'],
2function(declare,MenuBarItem,Router){
3    return declare([MenuBarItem],{
4        options:{
5            path: null
6        },
7        onClick: function(){
8            this.path && Router.go(this.path);
9        }
10    });
11});
Note: See TracBrowser for help on using the repository browser.