From e41c2fbac0027d7f7f61aa7605a8af248a576118 Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 4 Nov 2008 10:14:07 +0000 Subject: [PATCH] =?UTF-8?q?planet=20todo=20=EC=95=A0=EB=93=9C=EC=98=A8?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EB=82=B4=20=EB=AA=A9=EB=A1=9D=EB=A7=8C=20?= =?UTF-8?q?=EB=82=98=EC=98=A4=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4755 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- addons/planet_todo/planet_todo.addon.php | 6 +++--- addons/planet_todo/planet_todo.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/planet_todo/planet_todo.addon.php b/addons/planet_todo/planet_todo.addon.php index cb478be3e..07e4ae6a9 100644 --- a/addons/planet_todo/planet_todo.addon.php +++ b/addons/planet_todo/planet_todo.addon.php @@ -17,12 +17,12 @@ $oPlanet = Context::get('planet'); if($oPlanet->isMyPlanet()){ $oPlanetModel = &getModel('planet'); - $countTodo = $oPlanetModel->getTagSearchResultCount($this->module_srl,'todo'); - $countDone = $oPlanetModel->getTagSearchResultCount($this->module_srl,'done'); + $countTodo = $oPlanetModel->getTagSearchResultCount($oPlanet->getModuleSrl(),'todo'); + $countDone = $oPlanetModel->getTagSearchResultCount($oPlanet->getModuleSrl(),'done'); Context::addHtmlHeader(""); Context::addJsFile('./addons/planet_todo/planet_todo.js'); } } } -?> \ No newline at end of file +?> diff --git a/addons/planet_todo/planet_todo.js b/addons/planet_todo/planet_todo.js index 8fe4caf89..15faaa57e 100644 --- a/addons/planet_todo/planet_todo.js +++ b/addons/planet_todo/planet_todo.js @@ -36,7 +36,7 @@ function planet_getDone(page){ function _getPlanetTagSeachResult(tag,page,func){ var response_tags = new Array('error','message','contentList','pageNavigation'); - exec_xml('planet','dispPlanetContentTagSearch',{keyword:tag,page:page},func,response_tags); + exec_xml('planet','dispPlanetContentTagSearch',{keyword:tag,page:page,mid:current_mid},func,response_tags); } function result_planet_getTodo(ret_obj,response_tags, params, fo_obj) { @@ -191,4 +191,4 @@ function showWritePostTodo(tag){ $Element($('writePostForm').content_tag).show(); $('writePostForm').content_tag.value = tag; showWritePost(); -} \ No newline at end of file +}