Last change
on this file since 280 was
275,
checked in by hendrikvanantwerpen, 13 years ago
|
- [Server] Added PUT support to API.
- [Client] Extended questions page with Accordion and list with actions on each row.
|
File size:
1.1 KB
|
Line | |
---|
1 | require([ |
---|
2 | 'dijit/form/Form', |
---|
3 | 'dijit/form/TextBox', |
---|
4 | 'dijit/form/Button', |
---|
5 | 'dijit/form/Textarea', |
---|
6 | 'dojo/store/JsonRest', |
---|
7 | 'dojo/data/ObjectStore', |
---|
8 | 'dojox/grid/DataGrid', |
---|
9 | 'dijit/layout/ContentPane', |
---|
10 | 'dijit/layout/TabContainer', |
---|
11 | 'dijit/layout/AccordionContainer', |
---|
12 | 'dijit/MenuBar', |
---|
13 | 'dijit/MenuBarItem', |
---|
14 | 'dijit/PopupMenuBarItem', |
---|
15 | 'dijit/DropDownMenu', |
---|
16 | 'rft/ui/MenuBarLink', |
---|
17 | 'rft/ui/MenuLink', |
---|
18 | 'rft/ui/LineWithActionsWidget', |
---|
19 | 'rft/pages/questions' // could this be done dynamically? |
---|
20 | ]); |
---|
21 | |
---|
22 | require(['dojo/_base/window','dojo/parser', 'rft/ui/LoginDialog', |
---|
23 | 'dojo/dom', 'dojo/_base/connect', 'rft/auth', 'rft/content', |
---|
24 | 'dojo/domReady!' ], |
---|
25 | function(win,parser,LoginDialog,dom,connect,auth,content) { |
---|
26 | parser.parse(); |
---|
27 | |
---|
28 | var login = new LoginDialog().placeAt(win.body()); |
---|
29 | login.startup(); |
---|
30 | |
---|
31 | auth.restore() |
---|
32 | .then(function(){ |
---|
33 | content.initial(); |
---|
34 | },function(){ |
---|
35 | login.show(); |
---|
36 | }); |
---|
37 | |
---|
38 | connect.connect(dom.byId('loginMenu'),'click',function(){ |
---|
39 | login.show(); |
---|
40 | }); |
---|
41 | |
---|
42 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.