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 b0870f9 don't change checkboxes until all posts are complete
b0870f9 is described below
commit b0870f9b96961368cf4aaadcf6b4afb93874a9c4
Author: Sam Ruby <[email protected]>
AuthorDate: Fri Sep 29 19:01:08 2017 -0400
don't change checkboxes until all posts are complete
---
www/board/agenda/views/pages/roll-call.js.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/views/pages/roll-call.js.rb
b/www/board/agenda/views/pages/roll-call.js.rb
index 31c4a43..4837a4e 100644
--- a/www/board/agenda/views/pages/roll-call.js.rb
+++ b/www/board/agenda/views/pages/roll-call.js.rb
@@ -156,7 +156,8 @@ class Attendee < Vue
# perform initialization on first rendering
def status
- Minutes.attendees[@@person.name] || {}
+ return @saved_status if Header.clock_counter > 0
+ @saved_status = Minutes.attendees[@@person.name] || {}
end
# render a checkbox, a hypertexted link of the attendee's name to the
@@ -220,7 +221,9 @@ class Attendee < Vue
}
@disabled = true
+ Header.clock_counter += 1
post 'minute', data do |minutes|
+ Header.clock_counter -= 1
Minutes.load minutes
RollCall.clear_guest() if @@walkon
@disabled = false
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].