From c1479081ffc4653e724afe5a4617be1da7d454bc Mon Sep 17 00:00:00 2001 From: Seth Call Date: Wed, 2 Oct 2013 21:32:57 +0000 Subject: [PATCH] * VRFS-747 - hm. curious. I must not have added the necessary events at any time, meaning this never really worked for the sidebra --- web/app/assets/javascripts/sidebar.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/app/assets/javascripts/sidebar.js b/web/app/assets/javascripts/sidebar.js index 26955c9f2..8e2628771 100644 --- a/web/app/assets/javascripts/sidebar.js +++ b/web/app/assets/javascripts/sidebar.js @@ -489,6 +489,15 @@ }); }); ////////////////////////////////////////////////////////////// + + // watch for Invite More Users events + $('#sidebar-div .btn-email-invitation').click(function() { + invitationDialog.showEmailDialog(); + }); + + $('#sidebar-div .btn-gmail-invitation').click(function() { + invitationDialog.showGoogleDialog(); + }); } this.initialize = function() {