From 917a852b4869122d72cc7470556c0c60bbe91bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 24 May 2002 09:28:14 +0000 Subject: [PATCH] Fixed bug #559815 - Javascript problem with Opera --- ChangeLog | 2 ++ libraries/functions.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 148f5fbb4..dd83a9880 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * config.inc.php3; db_details_links.php3; db_search.php3; Documentation.html; lang/*; libraries/common.lib.php3: patch #554925 - Search into database, thanks to Thomas Chaumeny . + * libraries/functions.js, lines 15-17: fixed bug #559815 - Javascript + problem with Opera. 2002-05-23 Marc Delisle * Documentation.html, config.inc.php3, db_details_structure.php3, diff --git a/libraries/functions.js b/libraries/functions.js index 50c039ddb..39559b2bb 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -13,7 +13,8 @@ function confirmLink(theLink, theSqlQuery) { // Confirmation is not required in the configuration file - if (confirmMsg == '') { + // or browser is Opera (crappy js implementation) + if (confirmMsg == '' || typeof(window.opera) != 'undefined') { return true; }