erich.wanker Posted December 4, 2014 Posted December 4, 2014 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... 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 ?... Quote
Administrators Farshad Mohajeri Posted December 4, 2014 Administrators Posted December 4, 2014 uniGUI has a built-in implementation for this. Please see MainModule->BackButtonAction & OnBrowserClose event. BTW, we don't display any message in any language. It must be the browser message. Thx Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.