Merge pull request #1175 from adrianlang/correctMakeVisibleButtonCaption

Correct caption of 'Make Visible' button
This commit is contained in:
Robin Ward 2013-07-10 07:10:44 -07:00
commit a55b24996e
2 changed files with 4 additions and 4 deletions

View file

@ -7,15 +7,15 @@
@module Discourse
**/
Discourse.TopicAdminMenuController = Discourse.ObjectController.extend({
visible: false,
menuVisible: false,
needs: ['modal'],
show: function() {
this.set('visible', true);
this.set('menuVisible', true);
},
hide: function() {
this.set('visible', false);
this.set('menuVisible', false);
}
});

View file

@ -1,4 +1,4 @@
{{#if visible}}
{{#if menuVisible}}
<div class="topic-admin-menu">
<h3>{{i18n admin_title}}</h3>