mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix no response after saving layout config #1186
This commit is contained in:
parent
830b77bb64
commit
d75c904e6e
1 changed files with 1 additions and 2 deletions
|
|
@ -3348,8 +3348,7 @@ jQuery(function($){
|
|||
var sUrl = $('#config_form').attr('action');
|
||||
$.post( sUrl, $(this).serialize(),
|
||||
function( strRes ) {
|
||||
var htData = $.parseJSON(strRes);
|
||||
|
||||
var htData = typeof strRes === 'string' ? $.parseJSON(strRes) : strRes;
|
||||
$('#layout').show();
|
||||
//console.log(999, strRes, htData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue