Layout setup screen

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11756 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-10-17 05:53:05 +00:00
parent ed9f18eed5
commit 30dbae4e36

View file

@ -2097,6 +2097,26 @@ jQuery(function($){
//console.log(htData);
$('#layoutSetup').find('._contents').html(htData.html);
var $configForm = $('#config_form');
$configForm.on('submit', function(ev){
var htData = {};
var sKey, sValue;
$(this).find('input').each(function(){
sKey = $(this).attr('name');
sValue = $(this).val();
htData[sKey] = sValue;
});
console.log(htData);
ev.preventDefault();
var sUrl = $('#config_form').attr('action');
$.post( sUrl, htData,
function( htRes ) {
//console.log(999, htRes);
}
);
})
scrollToRight();
});
})