mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#18592109 레이아웃 저장시 메인 페이지로 이동하는 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7121 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
17b757f4e2
commit
46a95d2aa7
3 changed files with 21 additions and 3 deletions
|
|
@ -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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue