diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-12 10:10:59 +0100 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-13 00:57:40 -0500 |
commit | 61bdc80dbad253f6532a83ae2554de82deb40e5f (patch) | |
tree | f043c15e862ef690be29d53368cbab7a84b37194 /app | |
parent | 59955fbbbd5f807654e0861f49b182f27654d4cc (diff) | |
download | gitlab-ce-61bdc80dbad253f6532a83ae2554de82deb40e5f.tar.gz |
Updated failing tests
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/issuable.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/app/assets/javascripts/issuable.js b/app/assets/javascripts/issuable.js index f27f1bad1f7..d0305c6c6a1 100644 --- a/app/assets/javascripts/issuable.js +++ b/app/assets/javascripts/issuable.js @@ -5,13 +5,10 @@ this.Issuable = { init: function() { - if (!issuable_created) { - issuable_created = true; - Issuable.initTemplates(); - Issuable.initSearch(); - Issuable.initChecks(); - return Issuable.initLabelFilterRemove(); - } + Issuable.initTemplates(); + Issuable.initSearch(); + Issuable.initChecks(); + return Issuable.initLabelFilterRemove(); }, initTemplates: function() { return Issuable.labelRow = _.template('<% _.each(labels, function(label){ %> <span class="label-row btn-group" role="group" aria-label="<%- label.title %>" style="color: <%- label.text_color %>;"> <a href="#" class="btn btn-transparent has-tooltip" style="background-color: <%- label.color %>;" title="<%- label.description %>" data-container="body"> <%- label.title %> </a> <button type="button" class="btn btn-transparent label-remove js-label-filter-remove" style="background-color: <%- label.color %>;" data-label="<%- label.title %>"> <i class="fa fa-times"></i> </button> </span> <% }); %>'); |