whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Unsed
Date Thu, 05 Jul 2018 21:08:49 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new ec9a7e4  Unsed
ec9a7e4 is described below

commit ec9a7e41eb2ce069450cc98502097ddb0f036301
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Jul 5 22:08:47 2018 +0100

    Unsed
---
 www/project/icla/views/pages/discuss.js.rb | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/www/project/icla/views/pages/discuss.js.rb b/www/project/icla/views/pages/discuss.js.rb
index e780a28..9ed81fb 100644
--- a/www/project/icla/views/pages/discuss.js.rb
+++ b/www/project/icla/views/pages/discuss.js.rb
@@ -199,30 +199,6 @@ class Discuss < Vue
     end
   end
 
-  # server side field validations
-  def previewInvitation()
-    data = {
-      iclaname: @iclaname,
-      iclaemail: @iclaemail,
-      pmc: @pmc,
-      votelink: @votelink,
-      noticelink: @noticelink
-    }
-
-    @disabled = true
-    @alert = nil
-    post 'validate', data do |response|
-      @disabled = false
-      @alert = response.error
-      @memberEmail = response.memberEmail
-      @pmcEmail = response.pmcEmail
-      @invitation = response.invitation
-      @token = response.token
-      document.getElementById(response.focus).focus() if response.focus
-      jQuery('#invitation-preview').modal(:show) unless @alert
-    end
-  end
-
   # pretend to send an invitation
   def mockSend()
     # dismiss modal dialog


Mime
View raw message