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

@@ -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;
}