* Fix bug #15460,17587.

This commit is contained in:
tianshujie
2022-04-02 10:13:13 +08:00
parent d993fe3734
commit a1eb251907
5 changed files with 31 additions and 10 deletions
+20
View File
@@ -0,0 +1,20 @@
$(function()
{
$('#linkCommit').click(function()
{
if(repos.length == 0)
{
var onlybody = config.onlybody;
config.onlybody = 'no';
var link = createLink('repo', 'create', 'objectID=' + projectID);
config.onlybody = onlybody;
window.parent.$.apps.open(link, 'devops');
parent.$('#triggerModal').modal('hide');
return false;
}
});
});