From 6b3e3c25322ded23480796e9fcfa7a76b1a135c3 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 13 Sep 2011 02:24:22 +0200 Subject: [PATCH] Remove unnecessary onload event --- plugins/edit-calendar.php | 4 ++-- plugins/wymeditor.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/edit-calendar.php b/plugins/edit-calendar.php index 7b7430e9..47818c21 100644 --- a/plugins/edit-calendar.php +++ b/plugins/edit-calendar.php @@ -36,11 +36,11 @@ class AdminerEditCalendar { if (ereg("date|time", $field["type"])) { $dateFormat = "changeYear: true, dateFormat: 'yy-mm-dd'"; //! yy-mm-dd regional $timeFormat = "showSecond: true, timeFormat: 'hh:mm:ss'"; - return ""; + )) . ";"; } } diff --git a/plugins/wymeditor.php b/plugins/wymeditor.php index 06dc02d2..61ae5029 100644 --- a/plugins/wymeditor.php +++ b/plugins/wymeditor.php @@ -55,9 +55,7 @@ class AdminerWymeditor { $lang = ($lang == "zh" || $lang == "zh-tw" ? "zh_cn" : $lang); } return "" . h($value) . ""; } }