|
|||||||
| General Help Questions and information about non-programming things involving OpenLaszlo |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi!
I have Opera which is set up to identify itself as MSIE. When I try to load the automatically generated html for OpenLaszo app deployment, Opera complains about the "VBFlashVer" variable, which is undefined. I found the following code in lps/includes/embed.js: Code:
function detectFlash() {
var actualVersion = 0;
var isIE = navigator.appVersion.indexOf("MSIE") != -1; // true if we're on ie
...
} else { // isIE
var vbver = eval('VBFlashVer');
Code:
function detectFlash() {
var actualVersion = 0;
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) &&
(typeof(VBFlashVer) != "undefined"); // true if we're on ie
...
} else { // isIE
var vbver = eval('VBFlashVer');
|
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LzBrowser.loadJS() doesn't work right in Opera | cameron | General OpenLaszlo Programming | 0 | 06-23-2006 03:12 PM |
| Chinese problem of Laszlo | littleprince | General OpenLaszlo Programming | 1 | 02-28-2006 11:01 PM |
| Someone with good ideas for this problem? | dimitar71 | OpenLaszlo Installation help | 5 | 02-23-2006 01:59 PM |
| Problem with object inheritance and arrays | jasonb | General Help | 0 | 04-19-2005 07:04 AM |
| Opera 7.54 compatible? | d~l | OpenLaszlo Installation help | 2 | 12-07-2004 12:42 AM |