index 5e28ac82daea7fa1c3debde91462297e0b2ef0f3..82289820300c81a961f69b28b8b35a63711b7d59 100644 (file)
// To avoid recursion - restore original error handler.
restore_error_handler();
- /* Return if error reporting is set to zero */
+ /* Return if error reporting is set to zero
+ * Also exclude statements prefixed with @ - Comment out the block below to see suppressed errors.
+ * e.g. @call_function_but_hide_errors()
+ */
if (error_reporting() == 0){
set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
return;
</a>
</td>
<td align=right>
- <button onClick='GOsa_toggle(\"errorbox\");'>".
+ <button onClick=\"$('errorbox').toggle();\">".
_("Toggle information")."
</button>
</td>
</tr>
</table>
- <div id='errorbox' style='position:absolute; z-index:150; display: block;'>";
+ <div id='errorbox' style='position:absolute; z-index:150; display: none;'>";
}
}