* hide title setting of welcome block.

This commit is contained in:
Catouse
2018-05-31 16:20:53 +08:00
parent f8f5a57e87
commit 819e74699d
+8 -1
View File
@@ -26,7 +26,14 @@ $(function()
$blockParams.empty();
$form.removeClass('form-inited');
$.get(createLink('block', 'set', 'id=' + blockID + '&type=' + type), updateParams);
$.get(createLink('block', 'set', 'id=' + blockID + '&type=' + type), function(data)
{
updateParams(data);
if (type === 'welcome')
{
$blockParams.find('#title').closest('.form-group').hide();
}
});
};
// 用于获取指定区块的设置参数