From a4c1b55111724abc3bda95c8e366a0f68f22d4ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 11 Sep 2014 17:04:36 +0100 Subject: [PATCH] endSessionDialog: Fix DialogContent const Fallout from commit 0258c7a518 ... --- js/ui/endSessionDialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index dc3ad81a2..966bae20e 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -140,10 +140,10 @@ const DialogType = { }; const DialogContent = { - DialogType.LOGOUT: logoutDialogContent, - DialogType.SHUTDOWN: shutdownDialogContent, - DialogType.RESTART: restartDialogContent, - DialogType.UPDATE_RESTART: restartInstallDialogContent + 0 /* DialogType.LOGOUT */: logoutDialogContent, + 1 /* DialogType.SHUTDOWN */: shutdownDialogContent, + 2 /* DialogType.RESTART */: restartDialogContent, + 3 /* DialogType.UPDATE_RESTART */: restartInstallDialogContent }; const MAX_USERS_IN_SESSION_DIALOG = 5;