diff options
author | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
commit | 1bfe1d7b31d5202846beb3425039776fbdbbfb85 (patch) | |
tree | e4c291a6938c060696bd9f499fab89ebcac394ab /include/functions.php | |
parent | e6d66fe55ca217aeb0fb54b49ac9e7338d519c96 (diff) |
simplify error handling
* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index cdd783cdc..c6de853d4 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1917,7 +1917,7 @@ $attributes, $include_all_cats = true, $root_id = false, $nest_level = 0) { if (!$root_id) { - print "<select id=\"$id\" name=\"$id\" default=\"$default_id\" onchange=\"catSelectOnChange(this)\" $attributes>"; + print "<select id=\"$id\" name=\"$id\" default=\"$default_id\" $attributes>"; } if ($root_id) |