-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit Post Submittal Dialog #513
Comments
Its in the |
I did find a file called shareModal.js and the modal.html and was able to make some tweaks to the header and footer but I still have been unable to truly edit the body. I was able to edit the header and footer in the modal.html file. I was able to edit the area in the green by adding some html in the entrySubmitted: tag in resource.js. What I really want to do is remove the mailing and the link and everything I have tried has had no affect. I even tried deleting the div for the body which causes the app to not submit. Any thoughts? |
@gismcieri main.js has a function |
I found the section below and i found the enableSharing sharing variable to in default.js. The value is set to false. So I don't see why its still showing up.
I also tried commenting out certain parts and then the form fails to submit. Thanks again for your time. |
The enableSharing just removes the social buttons but not the email and link. If you want those removed, you'll have to edit the ShareModal.js file which creates those nodes. Its in the function here: https://github.com/Esri/geoform-template-js/blob/master/js/main.js#L2502 |
We'll add this option when we make the 4x JSAPI version of this app. |
Hi,
I am working on slightly modifying the post submittal form and i made some changes by including some HTML tags in between some of the text variable quotes but i need to do a little more and was wondering if anyone could point me in the right direction on how to modify the form and where the javascript is to do this. I have tried using firebug and other tools but everything i change seems to have no affect.
Thanks,
Matt
The text was updated successfully, but these errors were encountered: