forked from External/greenlight
		
	place recording popovers in table for handlers
This commit is contained in:
		@@ -108,21 +108,6 @@
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
    $(document).tooltip(options);
 | 
					    $(document).tooltip(options);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // enable popovers
 | 
					 | 
				
			||||||
    var options = {
 | 
					 | 
				
			||||||
      selector: '.has-popover',
 | 
					 | 
				
			||||||
      container: 'body',
 | 
					 | 
				
			||||||
      html: true,
 | 
					 | 
				
			||||||
      trigger: 'focus',
 | 
					 | 
				
			||||||
      title: function() {
 | 
					 | 
				
			||||||
        return I18n.are_you_sure;
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
      content: function() {
 | 
					 | 
				
			||||||
        return $(".delete-popover-body").html();
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
    $('#recordings').popover(options);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // focus name input or join button
 | 
					    // focus name input or join button
 | 
				
			||||||
    if ($('.meeting-user-name').is(':visible')) {
 | 
					    if ($('.meeting-user-name').is(':visible')) {
 | 
				
			||||||
      $('.meeting-user-name').focus();
 | 
					      $('.meeting-user-name').focus();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,11 +81,22 @@ class @Recordings
 | 
				
			|||||||
    })
 | 
					    })
 | 
				
			||||||
    options = {
 | 
					    options = {
 | 
				
			||||||
      selector: '.delete-tooltip',
 | 
					      selector: '.delete-tooltip',
 | 
				
			||||||
      container: 'body',
 | 
					 | 
				
			||||||
      placement: 'bottom',
 | 
					      placement: 'bottom',
 | 
				
			||||||
      title: I18n.delete_recording
 | 
					      title: I18n.delete_recording
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    $('#recordings').tooltip(options);
 | 
					    $('#recordings').tooltip(options)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # enable popovers
 | 
				
			||||||
 | 
					    options = {
 | 
				
			||||||
 | 
					      selector: '.has-popover',
 | 
				
			||||||
 | 
					      html: true,
 | 
				
			||||||
 | 
					      trigger: 'focus',
 | 
				
			||||||
 | 
					      title: ->
 | 
				
			||||||
 | 
					        return I18n.are_you_sure;
 | 
				
			||||||
 | 
					      content: ->
 | 
				
			||||||
 | 
					        return $(".delete-popover-body").html()
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    $('#recordings').popover(options)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Gets the current instance or creates a new one
 | 
					  # Gets the current instance or creates a new one
 | 
				
			||||||
  @getInstance: ->
 | 
					  @getInstance: ->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user