Commit 9744934210b1c0d6d54678b037f766d9db00d803

Fix bug while loading page without a hash URL

-  When default domain was loaded without hash URL, the framework did not
   navigate to the default first page. Fix that.
  
209209 console.log('saved', model, response);
210210 model.set(response.page);
211211 model.id = response.page.id;
212 //console.log(model);
213 //console.log(M.pages.models);
214212 M.pagelistview.render();
215213 },
216214 error: function(model, xhr) {
  
164164 var app_router = new AppRouter();
165165 Backbone.history.start();
166166
167 //var startpage = M.pages.models[0].get('name');
168 //app_router.navigate(startpage, {trigger: true});
167 if(!location.hash) {
168 var startpage = M.pages.models[0].get('name');
169 app_router.navigate(startpage, {trigger: true});
170 }
169171
170172 //M.simHeir();
171173};