git-svn-id: https://msi/svn/firstRepo/WebClient/branches/NewRelease@77 0f545695-f87b-41b6-9a03-7f16563b5454

This commit is contained in:
2016-03-06 22:02:12 +00:00
parent a804de5c5d
commit 137b074d85
15 changed files with 196 additions and 756 deletions
+5 -3
View File
@@ -55,7 +55,7 @@ define(['jquery', 'underscore', 'backbone',
'searchView': 'showSearch',
'mapsView': 'showMaps',
'debugView': 'showDebug',
'settingsView': 'showSettings',
'settingsView(:tab)': 'showSettings',
'donationView': 'showDonation',
'search/:nresult/:categoria/:difficolta/:autore/*titolo': 'searchFn',
'converterView': 'showConverter',
@@ -71,8 +71,10 @@ define(['jquery', 'underscore', 'backbone',
homeView.render();
this.changePage(homeView);
},
showSettings: function (actions) {
var settingsView = new SettingsView();
showSettings: function (tab) {
if(tab==null)
tab = 0;
var settingsView = new SettingsView(tab);
settingsView.render();
this.changePage(settingsView);
},