Jump to content

Message language: Confirm Navigation / Leave Page /Stay on Page


Recommended Posts

Posted

I use a Javascript in MainForm/Script:

 

function bunload(){
dontleave="MountainOffice";
return dontleave;
};
function ounload(){
ajaxRequest(MainForm.window, 'SessionClosed', [] );
};
onbeforeunload = bunload;
onunload=ounload;

to show user a message if he closes the App...

 

post-1295-0-62865600-1417698953_thumb.jpg

 

worked fine .. but after updating to Version 0.98.0.1116 ... the message in Chrome-Browser is ENGLISH .. my OS Language is German, my browser language is germen and the message was allways german .. IE shows actualy a german message - just Chrome shows a english language?

 

i dont know if its because i updated to 0.98.0.1116 or Chrome-browser makes a background-update ??

 

I use Chrome Browser Version 40.0.2214.28 beta-m

 

The header of the UniGui-Site is:

 

<!DOCTYPE html public>
<html>
<head>
<title>Betriebsleitersoftware</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />
<META http-equiv="Content-Language" content="de">
<META http-equiv="Language" content="de">
<META http-equiv="ROBOTS" content="NONE">

 

 

Has someone a idea whats wrong? - Chrome thinks my site is english ?...  

 

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...