Skip to content

Commit

Permalink
Better exit habdling of editor windows.
Browse files Browse the repository at this point in the history
- Preferrably would like to prevent the first dialog, but don;t know how.
  • Loading branch information
torinfo committed Mar 15, 2015
1 parent f1a8216 commit 925d678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website_code/scripts/logout.js
Expand Up @@ -98,7 +98,7 @@ function logout(slo){
else {
if (edit_window_open.length != 0) {

var answer = confirm(OPEN_WINDOWS_START + edit_window_open.length + OPEN_WINDOWS_END);
var answer = confirm(OPEN_WINDOWS_START + ' ' + edit_window_open.length + ' ' + OPEN_WINDOWS_END);

if (answer) {

Expand Down

0 comments on commit 925d678

Please sign in to comment.