You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/07/02 23:27:01 UTC
[whimsy] branch master updated: Add some missing event handlers
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 f253d32 Add some missing event handlers
f253d32 is described below
commit f253d325d37eb1e27a21ab350b0786e95b086cb4
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jul 3 00:26:59 2018 +0100
Add some missing event handlers
This was causing errors in vue.min.js
---
www/project/icla/views/pages/vote.js.rb | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/www/project/icla/views/pages/vote.js.rb b/www/project/icla/views/pages/vote.js.rb
index 013a0b5..34b3383 100644
--- a/www/project/icla/views/pages/vote.js.rb
+++ b/www/project/icla/views/pages/vote.js.rb
@@ -170,6 +170,27 @@ class Vote < Vue
end
end
+ # TODO: finish the code!
+ def setInvitation(event)
+ console.log('setInvitation:' + event)
+ alert('setInvitation: Not yet implemented')
+ end
+
+ def submitVote(event)
+ console.log('submitVote:' + event)
+ alert('submitVote: Not yet implemented')
+ end
+
+ def cancelVote(event)
+ console.log('cancelVote:' + event)
+ alert('cancelVote: Not yet implemented')
+ end
+
+ def tallyVote(event)
+ console.log('tallyVote:' + event)
+ alert('tallyVote: Not yet implemented')
+ end
+
# when the form is redisplayed, e.g. after displaying/hiding the commentBody
def updated()
focusComment()