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 49df3c5 Add missing event handlers
49df3c5 is described below
commit 49df3c55210447ecf02fde1a95314b01b1c411d6
Author: Sebb <[email protected]>
AuthorDate: Tue Jul 3 15:03:06 2018 +0100
Add missing event handlers
---
www/assets/{vue.min.js => xxvue.min.js} | 0
www/project/icla/views/pages/discuss.js.rb | 21 +++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/www/assets/vue.min.js b/www/assets/xxvue.min.js
similarity index 100%
rename from www/assets/vue.min.js
rename to www/assets/xxvue.min.js
diff --git a/www/project/icla/views/pages/discuss.js.rb
b/www/project/icla/views/pages/discuss.js.rb
index ea25a78..c285c55 100644
--- a/www/project/icla/views/pages/discuss.js.rb
+++ b/www/project/icla/views/pages/discuss.js.rb
@@ -150,6 +150,27 @@ class Discuss < Vue
checkValidity()
end
+ def setInvitation(event)
+ @invitation = event.target.value
+ checkValidity()
+ end
+
+ # TODO
+ def submitComment(event)
+ alert('submitComment: not implemented')
+ console.log('submitComment discussBody: ' + @discussBody.inspect)
+ end
+
+ def startVoting(event)
+ alert('startVoting: not implemented')
+ console.log('startVoting discussBody: ' + @discussBody.inspect)
+ end
+
+ def invite(event)
+ alert('invite: not implemented')
+ console.log('invite discussBody: ' + @discussBody.inspect)
+ end
+
#
# validation and processing
#