* Adjust dtable form cache error.
This commit is contained in:
@@ -36,3 +36,14 @@ window.bindUser = function(e)
|
||||
data: postData
|
||||
});
|
||||
}
|
||||
|
||||
window.afterPageUpdate = function($target, info)
|
||||
{
|
||||
if(info.name === 'dtable')
|
||||
{
|
||||
const dtable = zui.DTable.query('#table-gitea-binduser');
|
||||
|
||||
/* Clear saved formData. */
|
||||
if(dtable) dtable.$.resetFormData();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -36,3 +36,14 @@ window.bindUser = function(e)
|
||||
data: postData
|
||||
});
|
||||
}
|
||||
|
||||
window.afterPageUpdate = function($target, info)
|
||||
{
|
||||
if(info.name === 'dtable')
|
||||
{
|
||||
const dtable = zui.DTable.query('#table-gitlab-binduser');
|
||||
|
||||
/* Clear saved formData. */
|
||||
if(dtable) dtable.$.resetFormData();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -36,3 +36,14 @@ window.bindUser = function(e)
|
||||
data: postData
|
||||
});
|
||||
}
|
||||
|
||||
window.afterPageUpdate = function($target, info)
|
||||
{
|
||||
if(info.name === 'dtable')
|
||||
{
|
||||
const dtable = zui.DTable.query('#table-gogs-binduser');
|
||||
|
||||
/* Clear saved formData. */
|
||||
if(dtable) dtable.$.resetFormData();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user