Add favorite in module page

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9039 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2011-09-06 02:24:15 +00:00
parent 183f0d6031
commit 5278bb135c
5 changed files with 36 additions and 6 deletions

View file

@ -3,7 +3,18 @@
* @author NHN (developers@xpressengine.com)
* @brief module 모듈의 관리자용 javascript
**/
/* 모듈 즐겨찾기 */
function doToggleFavoriteModule(module_name) {
var params = new Array();
params['module_name'] = module_name;
params['site_srl'] = '0';
exec_xml('admin','procAdminToggleFavorite',params, completeToggleFavoriteModule);
}
function completeToggleFavoriteModule(ret_obj) {
location.reload();
}
/* 카테고리 관련 작업들 */
function doUpdateCategory(module_category_srl, message) {
if(typeof(message)!='undefined'&&!confirm(message)) return;