* Adjust confirm js.
This commit is contained in:
@@ -5,6 +5,14 @@ $(document).on('click', '#involved', function()
|
||||
loadCurrentPage();
|
||||
});
|
||||
|
||||
window.confirmDelete = function(projectID, projectName)
|
||||
{
|
||||
zui.Modal.confirm({message: confirmDeleteTip.replace('%s', projectName), icon:'icon-info-sign', iconClass: 'warning-pale rounded-full icon-2x'}).then((res) =>
|
||||
{
|
||||
if(res) $.ajaxSubmit({url: $.createLink('project', 'delete', 'projectID=' + projectID)});
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on('click', '.batch-btn', function()
|
||||
{
|
||||
const dtable = zui.DTable.query($(this).target);
|
||||
|
||||
Reference in New Issue
Block a user