Comments (4)
I noticed in the chrome inspector that is call the url like 3 times the second time round.
from django-bootstrap-modal-forms.
@pbzrpa I advise you to clone this repository and check the examples or check the examples at my website https://trco.si/dbmf/. The package is mature enough that it works as it should. I would say that you just missed something during the implementation. Please double check it.
from django-bootstrap-modal-forms.
@trco Hi, I installed with pypi, does this mean the documentation is out of date n pypi? It seems it was enough to wrap the modalForm call in $(function(){}) and it works now. Thanks.
from django-bootstrap-modal-forms.
@pbzrpa If you check under https://github.com/trco/django-bootstrap-modal-forms#how-it-works and https://github.com/trco/django-bootstrap-modal-forms#6-modalform you'll se that modalForm call is wrapped in $( document ).ready(function() {});
, which is the equivalent of what you wrote. I'm glad that you sort it out.
from django-bootstrap-modal-forms.
Related Issues (20)
- Create Async closeOnSubmit=true not work HOT 1
- missing "database" folder
- Allow to send extra parameters in the POST request.
- Multiple submit buttons in modal
- Maintenance of the project HOT 9
- Automate JS Minify Process
- How to make a nested modal
- Undesired GET request when using a BSModalCreateView HOT 4
- Incorrect errorClass in documentation HOT 1
- Generic views don't respond to get_success_url() since version 3.0.0 HOT 5
- Delete view success message is shown although object not deleted HOT 1
- form validation object already exist error does not shown in modal after modal form submissin with crispy form within modal HOT 3
- Django Internal server error - widget_tweaks failed to parse render_field HOT 1
- Checkbox does not render correctly. HOT 3
- btnSubmit fails detection after html minification
- Double post when submitting modal form HOT 5
- Restrict users from directly accessing the form url HOT 1
- How to remove Click listener HOT 1
- Open a new modal with the current modal form's results
- Event listeners disappear after the form is invalid. HOT 1
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 django-bootstrap-modal-forms.