浏览代码

fix(Toolbar.js): hide recording and SIP buttons from the start

j8
paweldomas 8 年前
父节点
当前提交
6669a96fd8
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6
    2
      modules/UI/toolbars/Toolbar.js

+ 6
- 2
modules/UI/toolbars/Toolbar.js 查看文件

255
     'recording': {
255
     'recording': {
256
         id: 'toolbar_button_record',
256
         id: 'toolbar_button_record',
257
         tooltipKey: 'liveStreaming.buttonTooltip',
257
         tooltipKey: 'liveStreaming.buttonTooltip',
258
-        className: 'button'
258
+        className: 'button',
259
+        hidden: true // will be displayed once
260
+                     // the recording functionality is detected
259
     },
261
     },
260
     'sharedvideo': {
262
     'sharedvideo': {
261
         id: 'toolbar_button_sharedvideo',
263
         id: 'toolbar_button_sharedvideo',
270
     'sip': {
272
     'sip': {
271
         id: 'toolbar_button_sip',
273
         id: 'toolbar_button_sip',
272
         tooltipKey: 'toolbar.sip',
274
         tooltipKey: 'toolbar.sip',
273
-        className: 'button icon-telephone'
275
+        className: 'button icon-telephone',
276
+        hidden: true // will be displayed once
277
+                     // the SIP calls functionality is detected
274
     },
278
     },
275
     'dialpad': {
279
     'dialpad': {
276
         id: 'toolbar_button_dialpad',
280
         id: 'toolbar_button_dialpad',

正在加载...
取消
保存