mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4748 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ccd2763fca
commit
654156df5e
1 changed files with 8 additions and 29 deletions
|
|
@ -1,11 +1,15 @@
|
|||
function planetTab(){
|
||||
if($('planet_tab')) $('planet_tab').innerHTML += '<ul id="planetex_Tab" class="exTab"><li><a id="aa" href="#" onclick="planet_showTodoList(this); return false;">ToDo<sup>-</sup></a></li>';
|
||||
}
|
||||
|
||||
xAddEventListener(window,'load',planetTab);
|
||||
|
||||
|
||||
|
||||
|
||||
function planetTabOff(){
|
||||
$Element('planetex_Tab').leave();
|
||||
}
|
||||
|
||||
function planet_showTodoList(o){
|
||||
$ElementList('#planetex_Tab li').removeClass('active');
|
||||
$Element(o).parent().addClass('active');
|
||||
|
|
@ -151,6 +155,8 @@ function result_planet_getDone(ret_obj,response_tags, params, fo_obj) {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function planet_todo_setDone(o){
|
||||
var document_srl = o.id.replace(/.*:/,'');
|
||||
var tag = o.value;
|
||||
|
|
@ -174,31 +180,4 @@ function planet_todo_setDel(document_srl){
|
|||
|
||||
exec_xml('planet','procPlanetContentTagModify',params,planet_reload_todo);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function xeAjax(param,func){
|
||||
var url = "./";
|
||||
var myAjax = $Ajax(url,{
|
||||
onload: function(res){
|
||||
//func($Json.fromXML(res.text()));
|
||||
func(res.text());
|
||||
}
|
||||
});
|
||||
|
||||
// set header
|
||||
myAjax.header('Content-Type','application/json; charset=UTF-8');
|
||||
myAjax.option("method", "post");
|
||||
myAjax.request(param);
|
||||
}
|
||||
|
||||
function geta(){
|
||||
var param = {mid:'sol',module:'planet',act:'dispPlanetContentTagSearch',keyword:'done',page:1}
|
||||
xeAjax(param,resultGetFavorite);
|
||||
}
|
||||
|
||||
function resultGetFavorite(obj){
|
||||
alert(obj);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue