From 876b21437f361f32edca011fff3f81eef96f789f Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 27 Nov 2014 09:24:26 -0500 Subject: [PATCH] Fix JavaScript of login page of mobile version --- UI/WebServerResources/js/mobile/SOGoRootPage.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/UI/WebServerResources/js/mobile/SOGoRootPage.js b/UI/WebServerResources/js/mobile/SOGoRootPage.js index 18ffa879a..b3a0742f6 100644 --- a/UI/WebServerResources/js/mobile/SOGoRootPage.js +++ b/UI/WebServerResources/js/mobile/SOGoRootPage.js @@ -4,10 +4,10 @@ (function() { 'use strict'; - angular.module('SOGo.RootPage', ['SOGo.Authentication', 'SOGo.UIMobile', 'ionic']) + angular.module('SOGo.MainUI', ['SOGo.Authentication', 'SOGo.UIMobile', 'ionic']) .constant('sgSettings', { - 'baseURL': ApplicationBaseURL + baseURL: ApplicationBaseURL }) .run(function($ionicPlatform) { @@ -28,17 +28,17 @@ $stateProvider .state('app', { - url: "/app", + url: '/app', abstract: true, - templateUrl: "menu.html", + templateUrl: 'menu.html', controller: 'AppCtrl' }) .state('app.login', { - url: "/login", + url: '/login', views: { - 'menuContent': { - templateUrl: "login.html", + menuContent: { + templateUrl: 'login.html', controller: 'LoginCtrl' } }