Comments (4)
This is strange. I went through the codes and could not find the part that auto create the next stage question. I remember it was working before. I must have missed something in the codes. Even looked at the past codes in the git log.
from coconut-mobile-plugin-zanzibar.
@mikeymckay I checked the democs DB (and Zanzibar) within the question doc. Seems like the attributes "action_on_questions_loaded" and "onValidatedComplete" have been removed. I cannot remember the reason behind this. Because of the missing scripts, the next stage question was not created automatically because they are being referenced in the codes (QuestionView lines 469-476)
if allQuestionsPassValidation
if @model.get("action_on_questions_loaded")? and @model.get("action_on_questions_loaded") isnt ""
CoffeeScript.eval @model.get "action_on_questions_loaded"
onValidatedComplete = @model.get("onValidatedComplete")
if onValidatedComplete
_.delay ->
CoffeeScript.eval onValidatedComplete
,1000
Can you remember why those attributes were removed from the question docs?
from coconut-mobile-plugin-zanzibar.
Ugh. Just a mistake I must have made after upgrading to the cleaner question structure (that removed the need to manage internal ids within a question). I can fix that.
from coconut-mobile-plugin-zanzibar.
Fixed.
from coconut-mobile-plugin-zanzibar.
Related Issues (20)
- Skip logic on treatment HOT 1
- Many households are missing geocoordinates HOT 8
- Remove other index case when at same household
- Compare weekly and notification needs refactor to use casecounter
- Create another casecounter but that allows limiting by facility or district
- Make weekly report look nicer
- DHIS2 sync not working HOT 1
- Send out messages when thresholds crossed
- Enable threshold editor for admins
- When a case is transferred the person receiving the case can't mark case as lost to followup
- DMSO - allow them to have multiple districts
- Don't allow transfers unless a facility is complete HOT 1
- FOCI CLassification - need to find cases and clean shehia
- 2. The transfer feature should be implementable only at HF level
- Move lost to followup to Household
- Household should only have one index case HOT 1
- Issues with transfer usability
- Remove some delete options HOT 1
- Show transfer details on tablet of person that transferred it
- Improve user report calculations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coconut-mobile-plugin-zanzibar.