Welcome to mirror list, hosted at ThFree Co, Russian Federation.

protected_tag_edit_list.js « protected_tags « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bd9fc8722664781c17c93fe7349c8e4f8c768fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* eslint-disable no-new */

import ProtectedTagEdit from './protected_tag_edit';

export default class ProtectedTagEditList {
  constructor() {
    this.$wrap = $('.protected-tags-list');
    this.initEditForm();
  }

  initEditForm() {
    this.$wrap.find('.js-protected-tag-edit-form').each((i, el) => {
      new ProtectedTagEdit({
        $wrap: $(el),
      });
    });
  }
}