From c530038d9aae520c6110ea023c73dcd8568f884c Mon Sep 17 00:00:00 2001 From: wwccss Date: Fri, 22 Aug 2014 14:06:38 +0800 Subject: [PATCH 1/3] * adjust code format. --- module/project/view/view.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/view/view.html.php b/module/project/view/view.html.php index 8633c2335d..c03de0978c 100644 --- a/module/project/view/view.html.php +++ b/module/project/view/view.html.php @@ -140,4 +140,4 @@ - + From a59fe005a672210d39b551b73f4880dccc5ff4f9 Mon Sep 17 00:00:00 2001 From: wwccss Date: Fri, 22 Aug 2014 14:06:55 +0800 Subject: [PATCH 2/3] * adjust code format. --- module/common/view/action.html.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/common/view/action.html.php b/module/common/view/action.html.php index a07677433e..5d2708cbc1 100755 --- a/module/common/view/action.html.php +++ b/module/common/view/action.html.php @@ -82,11 +82,13 @@ function toggleComment(actionID) $('.ke-container').css('width', '100%'); } -$(function(){ +$(function() +{ var diffButton = ""; var newBoxID = '' var oldBoxID = '' - $('blockquote').each(function(){ + $('blockquote').each(function() + { newBoxID = $(this).parent().attr('id'); if(newBoxID != oldBoxID) { From 8e96648e2d210c824e8ca065ae6877e8aab88f88 Mon Sep 17 00:00:00 2001 From: wwccss Date: Tue, 26 Aug 2014 14:50:57 +0800 Subject: [PATCH 3/3] * init the $jsLang. --- lib/front/front.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/front/front.class.php b/lib/front/front.class.php index 1bee40ddc5..a2029290b4 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -862,6 +862,7 @@ EOT; $jsConfig->router = $app->server->PHP_SELF; $jsConfig->timeout = $config->timeout; + $jsLang = new stdclass(); $jsLang->submitting = $lang->submitting; $jsLang->save = $lang->save; $jsLang->timeout = $lang->timeout;