This is an automated email from the ASF dual-hosted git repository.
rubys 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 679dd7a refresh title when form is displayed
679dd7a is described below
commit 679dd7a3eaadd9cc81615be06d06fcdce0dfb8b5
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Oct 5 20:42:52 2017 -0400
refresh title when form is displayed
---
www/board/agenda/views/buttons/post.js.rb | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/views/buttons/post.js.rb
b/www/board/agenda/views/buttons/post.js.rb
index 5a49386..b09ba87 100644
--- a/www/board/agenda/views/buttons/post.js.rb
+++ b/www/board/agenda/views/buttons/post.js.rb
@@ -70,11 +70,18 @@ class Post < Vue
else
document.getElementById("post-report-text").focus()
end
+
+ self.retitle()
end
end
- # match form title, input label, and commit message with button text
+ # initialize form title, etc.
def created()
+ self.retitle()
+ end
+
+ # match form title, input label, and commit message with button text
+ def retitle()
case @@button.text
when 'post report'
@header = 'Post Report'
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].