Fixed bug #559815 - Javascript problem with Opera

This commit is contained in:
Loïc Chapeaux
2002-05-24 09:28:14 +00:00
parent c2a6a87eb9
commit 917a852b48
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* config.inc.php3; db_details_links.php3; db_search.php3; * config.inc.php3; db_details_links.php3; db_search.php3;
Documentation.html; lang/*; libraries/common.lib.php3: patch #554925 Documentation.html; lang/*; libraries/common.lib.php3: patch #554925
- Search into database, thanks to Thomas Chaumeny <chaume92 at aol.com>. - Search into database, thanks to Thomas Chaumeny <chaume92 at aol.com>.
* libraries/functions.js, lines 15-17: fixed bug #559815 - Javascript
problem with Opera.
2002-05-23 Marc Delisle <lem9@users.sourceforge.net> 2002-05-23 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, config.inc.php3, db_details_structure.php3, * Documentation.html, config.inc.php3, db_details_structure.php3,

View File

@@ -13,7 +13,8 @@
function confirmLink(theLink, theSqlQuery) function confirmLink(theLink, theSqlQuery)
{ {
// Confirmation is not required in the configuration file // 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; return true;
} }