mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
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:
parent
ed9f18eed5
commit
30dbae4e36
1 changed files with 20 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue