forked from extern/egroupware
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;
|
break;
|
||||||
case 'egw_dc_timeout_socket':
|
case 'egw_dc_timeout_socket':
|
||||||
case 'egw_dc_timeout_notify':
|
case 'egw_dc_timeout_notify':
|
||||||
|
case 'egw_debuging':
|
||||||
|
case 'egw_debuging_level':
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$replacement = lang($r=$replacement);
|
$replacement = lang($r=$replacement);
|
||||||
|
Binary file not shown.
@ -31,6 +31,8 @@ import javax.swing.JOptionPane;
|
|||||||
/**
|
/**
|
||||||
* jegwMain
|
* jegwMain
|
||||||
*
|
*
|
||||||
|
* TODO http://www.java-blog-buch.de/d-plugin-entwicklung-in-java/
|
||||||
|
*
|
||||||
* @author Stefan Werfling <stefan.werfling@hw-softwareentwicklung.de>
|
* @author Stefan Werfling <stefan.werfling@hw-softwareentwicklung.de>
|
||||||
*/
|
*/
|
||||||
public class jegwMain implements ActionListener
|
public class jegwMain implements ActionListener
|
||||||
@ -85,8 +87,16 @@ public class jegwMain implements ActionListener
|
|||||||
== "1" ? true : false);
|
== "1" ? true : false);
|
||||||
|
|
||||||
egwDebuging.setDebuging(_debuging);
|
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
|
// END
|
||||||
|
|
||||||
if( this.egwconfig.getCXMLM().countConf() < 1 )
|
if( this.egwconfig.getCXMLM().countConf() < 1 )
|
||||||
|
Loading…
Reference in New Issue
Block a user