2023-05-16 10:50:42 +08:00

21 lines
502 B
JavaScript

$(function()
{
$.setAjaxForm('#createHookForm', function(response)
{
if(response.result == 'success')
{
setTimeout(function()
{
$('#triggerModal').load(response.locate, function()
{
$.zui.ajustModalPosition();
});
}, 1200);
}
});
$('.hookForm #conditionType').change();
$('.hookForm #action').change();
$('.hookForm [name*=paramType]').change();
})