Browse Source

Renames method.

master
damencho 9 years ago
parent
commit
f0fd7d7435
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/UI/shared_video/SharedVideo.js

+ 2
- 2
modules/UI/shared_video/SharedVideo.js View File

43
             return;
43
             return;
44
         }
44
         }
45
 
45
 
46
-        proposeToClose().then(() =>
46
+        showStopVideoPropmpt().then(() =>
47
             this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
47
             this.emitter.emit(UIEvents.UPDATE_SHARED_VIDEO, null, 'stop'));
48
     }
48
     }
49
 
49
 
433
 /**
433
 /**
434
  * Ask user if he want to close shared video.
434
  * Ask user if he want to close shared video.
435
  */
435
  */
436
-function proposeToClose() {
436
+function showStopVideoPropmpt() {
437
     return new Promise(function (resolve, reject) {
437
     return new Promise(function (resolve, reject) {
438
         messageHandler.openTwoButtonDialog(
438
         messageHandler.openTwoButtonDialog(
439
             "dialog.removeSharedVideoTitle",
439
             "dialog.removeSharedVideoTitle",

Loading…
Cancel
Save