Commit 8c3eb54082fc73198a61e0ae11893a733c15227b
- Diff rendering mode:
- inline
- side by side
mouchak/static/js/editor.js
(4 / 4)
  | |||
9 | 9 | 'click .pagename .disp': 'showPage', | |
10 | 10 | 'click #addPage': 'addPage', | |
11 | 11 | 'click .pagename .remove': 'removePage', | |
12 | 'click #menu-config': 'showMenu', | ||
13 | 'click #footer-config': 'footerConfig' | ||
12 | 'click #menu-config': 'showMenu'//, | ||
13 | //'click #footer-config': 'footerConfig' | ||
14 | 14 | }, | |
15 | 15 | initialize: function() { | |
16 | 16 | _.bindAll(this); | |
… | … | ||
25 | 25 | //console.log(menu); | |
26 | 26 | this.menuconfig = new M.types.model.menu(menu); | |
27 | 27 | this.menuconfigview = new MenuConfigView({model: this.menuconfig}); | |
28 | this.footerconfigview = new FooterConfigView(); | ||
28 | //this.footerconfigview = new FooterConfigView(); | ||
29 | 29 | }, | |
30 | 30 | render: function() { | |
31 | 31 | // append the page list | |
… | … | ||
71 | 71 | this.menuconfigview.render(); | |
72 | 72 | }, | |
73 | 73 | footerConfig: function(event) { | |
74 | this.footerconfigview.render(); | ||
74 | //this.footerconfigview.render(); | ||
75 | 75 | } | |
76 | 76 | }); | |
77 | 77 |