mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix for translated debug level causing notification popup to fail
This commit is contained in:
parent
5bb9cd1ad0
commit
38b8d2fe9e
@ -53,6 +53,8 @@ function replace_callback($matches)
|
||||
break;
|
||||
case 'egw_dc_timeout_socket':
|
||||
case 'egw_dc_timeout_notify':
|
||||
case 'egw_debuging':
|
||||
case 'egw_debuging_level':
|
||||
break;
|
||||
default:
|
||||
$replacement = lang($r=$replacement);
|
||||
|
Binary file not shown.
@ -31,6 +31,8 @@ import javax.swing.JOptionPane;
|
||||
/**
|
||||
* jegwMain
|
||||
*
|
||||
* TODO http://www.java-blog-buch.de/d-plugin-entwicklung-in-java/
|
||||
*
|
||||
* @author Stefan Werfling <stefan.werfling@hw-softwareentwicklung.de>
|
||||
*/
|
||||
public class jegwMain implements ActionListener
|
||||
@ -85,8 +87,16 @@ public class jegwMain implements ActionListener
|
||||
== "1" ? true : false);
|
||||
|
||||
egwDebuging.setDebuging(_debuging);
|
||||
egwDebuging.setLevel(Level.parse(
|
||||
jegwConst.getConstTag("egw_debuging_level").trim()));
|
||||
|
||||
try
|
||||
{
|
||||
egwDebuging.setLevel(Level.parse(
|
||||
jegwConst.getConstTag("egw_debuging_level").trim()));
|
||||
}
|
||||
catch(Exception exp)
|
||||
{
|
||||
egwDebuging.setLevel(Level.ALL);
|
||||
}
|
||||
// END
|
||||
|
||||
if( this.egwconfig.getCXMLM().countConf() < 1 )
|
||||
|
Loading…
Reference in New Issue
Block a user