Closed andywalz closed 8 years ago
Chris- what if we never close the report? Wouldn't that make this easier to resolve? I'm thinking simply hide the text (site name, site notes) and show form fields instead right in their place with save button that stores values in object and then reshows text using values? Then we don't have to worry about reloading maps/other data. I could work on this if you think this approach would work. Of all issues I'd like to fix this one for demo tomorrow....
I fixed this with a work around. I like the UI behavior of the fix better but the code behind it is hacky. I'm using jquery to manually update the modal and directly change the model values because when using .set() and the render function it closed the modal on me and I couldn't figure out why or how to keep it open.
pull request #64
This is caused by the model updating and the report re-rendering. It has two empty div containers for the map so it renders them empty. I'm going to have to research how to skip the divs if they are full or how to re-apply a map object to a div.
Also, report model value (site name, for example) needs to match the input value exactly. Model was interpreted as < but input interpreted as <. I removed them for now.