mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Merge pull request #1175 from adrianlang/correctMakeVisibleButtonCaption
Correct caption of 'Make Visible' button
This commit is contained in:
commit
a55b24996e
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{#if visible}}
|
||||
{{#if menuVisible}}
|
||||
<div class="topic-admin-menu">
|
||||
<h3>{{i18n admin_title}}</h3>
|
||||
|
||||
|
|
Loading…
Reference in a new issue