Bläddra i källkod

Fix for button appearing in both toolbars

j8
yanas 9 år sedan
förälder
incheckning
3b05a16b32
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 1
    1
      index.html
  2. 2
    1
      modules/UI/util/UIUtil.js

+ 1
- 1
index.html Visa fil

@@ -123,7 +123,7 @@
123 123
             <a class="button icon-contactList" id="toolbar_contact_list" data-container="body" data-toggle="popover" data-placement="right" shortcut="contactlistpopover"  data-i18n="[content]bottomtoolbar.contactlist" content="Open / close contact list">
124 124
                 <span id="numberOfParticipants"></span>
125 125
             </a>
126
-            <a class="button icon-link" id="toolbar_button_link" data-container="body" data-toggle="popover" data-placement="right" data-i18n="[content]toolbar.invite" content="Invite others"></a>
126
+            <!--a class="button icon-link" id="toolbar_button_link" data-container="body" data-toggle="popover" data-placement="right" data-i18n="[content]toolbar.invite" content="Invite others"></a-->
127 127
             <a class="button icon-chat" id="toolbar_button_chat" data-container="body" data-toggle="popover" shortcut="toggleChatPopover" data-placement="right" data-i18n="[content]toolbar.chat" content="Open / close chat">
128 128
                 <span id="unreadMessages"></span>
129 129
             </a>

+ 2
- 1
modules/UI/util/UIUtil.js Visa fil

@@ -112,7 +112,8 @@
112 112
      * is enabled, {false} - otherwise
113 113
      */
114 114
     isButtonEnabled: function (name) {
115
-        return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1;
115
+        return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1
116
+                || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1;
116 117
     },
117 118
     /**
118 119
      * Indicates if the setting section is enabled.

Laddar…
Avbryt
Spara