#18592109 레이아웃 저장시 메인 페이지로 이동하는 버그 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7121 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-01-05 09:41:57 +00:00
parent 17b757f4e2
commit 46a95d2aa7
3 changed files with 21 additions and 3 deletions

View file

@ -65,4 +65,13 @@ function doResetLayoutCode(layout_srl) {
}
window.doResetLayoutCode = doResetLayoutCode;
var validator = xe.getApp('validator')[0];
validator.cast('ADD_CALLBACK', ['update_layout_code', function(form) {
var params={},data=$(form).serializeArray();
$.each(data, function(i,field){ params[field.name] = field.value });
exec_xml('layout', 'procLayoutAdminCodeUpdate', params, filterAlertMessage, ['error','message'], params, form);
return false;
}]);
})(jQuery);