mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 14:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@657 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b0521ae3f1
commit
749dc4a9ab
6 changed files with 54 additions and 6 deletions
18
modules/editor/tpl/js/admin.js
Normal file
18
modules/editor/tpl/js/admin.js
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
function doEnableComponent(component_name) {
|
||||
var params = new Array();
|
||||
params['component_name'] = component_name;
|
||||
|
||||
exec_xml('editor', 'procEnableComponent', params, completeUpdate);
|
||||
}
|
||||
|
||||
function doDisableComponent(component_name) {
|
||||
var params = new Array();
|
||||
params['component_name'] = component_name;
|
||||
|
||||
exec_xml('editor', 'procDisableComponent', params, completeUpdate);
|
||||
}
|
||||
|
||||
function completeUpdate(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.href = location.href;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue