diff --git a/module/gitlab/js/managebranchpriv.js b/module/gitlab/js/managebranchpriv.js index ca2a04c27b..b00adf44e6 100644 --- a/module/gitlab/js/managebranchpriv.js +++ b/module/gitlab/js/managebranchpriv.js @@ -19,7 +19,7 @@ $.zui.Picker.DEFAULTS.onChange = function(event) } /** - * Save team members. + * Save branch priv. * * @access public * @return void @@ -67,6 +67,6 @@ function addItem(obj) */ function deleteItem(obj) { - if($('#teamForm .table-form tbody').children().length < 2) return false; + if($('#privForm .table-form tbody').children().length < 2) return false; $(obj).closest('tr').remove(); } diff --git a/module/gitlab/js/managetagpriv.js b/module/gitlab/js/managetagpriv.js index 6e290efb1f..1afcbfd09a 100644 --- a/module/gitlab/js/managetagpriv.js +++ b/module/gitlab/js/managetagpriv.js @@ -19,7 +19,7 @@ $.zui.Picker.DEFAULTS.onChange = function(event) } /** - * Save team members. + * Save tag priv. * * @access public * @return void @@ -67,6 +67,6 @@ function addItem(obj) */ function deleteItem(obj) { - if($('#teamForm .table-form tbody').children().length < 2) return false; + if($('#privForm .table-form tbody').children().length < 2) return false; $(obj).closest('tr').remove(); } diff --git a/module/gitlab/view/managebranchpriv.html.php b/module/gitlab/view/managebranchpriv.html.php index c33f4272ff..714a03bda1 100644 --- a/module/gitlab/view/managebranchpriv.html.php +++ b/module/gitlab/view/managebranchpriv.html.php @@ -7,7 +7,7 @@