* gitlab: fix formData not clean after switch feature tab.
This commit is contained in:
@@ -36,3 +36,14 @@ window.bindUser = function(e)
|
||||
data: postData
|
||||
});
|
||||
}
|
||||
|
||||
window.onPageRender = function(info)
|
||||
{
|
||||
if(info.name === 'dtable')
|
||||
{
|
||||
const dtable = zui.DTable.query('#table-gitlab-binduser');
|
||||
|
||||
/* Clear saved formData. */
|
||||
if(dtable) dtable.$.data.formData = {};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user