git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2010-01-05 10:07:55 +00:00
parent 5002f50825
commit dbc3ca20b8
2 changed files with 3 additions and 1 deletions

View file

@ -67,6 +67,8 @@ window.doResetLayoutCode = doResetLayoutCode;
var validator = xe.getApp('validator')[0];
validator.cast('ADD_CALLBACK', ['update_layout_code', function(form) {
if (form.act.value != 'procLayoutAdminCodeUpdate') return false;
var params={},data=$(form).serializeArray();
$.each(data, function(i,field){ params[field.name] = field.value });