You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've set up my list on index.html next to the calendar to open up in modals. I did this by changing the .html on the thing that adds items to the eventlist in app.js. Everything works fine except the screen freezes up if I click outside of the modal. On the modals that I open from within the calendar this doesn't happen. I added data-backdrop="static" data-keyboard="false" as a way to avoid the problem but I'd like to not have to do that. Does anybody have any idea why this happens?
Also it did that before I added the checkboxes, that's for something else all together (querying multiple events from the list at once)
On index.html I have:
$(document).on("click", ".open-myModal", function () {
var myurl = $(this).data('url');
var name = $(this).data('name');
document.getElementById("name").innerHTML = name;
document.getElementById("page").src = myurl;
My theory is I have this problem because I use the modal you guys have in the example to work for the calendar and added a modal of my own making for the eventlist and somehow the problem springs from this but I don't know how.
The text was updated successfully, but these errors were encountered:
what you could do is look up the "Classes" the modal use for the ones in the bootstrap-calendar and see if there is any prevention of closing added in it. And check one by one if the classes have the closure of modals added to it or this function has possible been overwritten. Compare these to your own classes and see if you are missing any in comparison.
If this is the case and you see you are missing one, see what the class does in Javascript (if any event handlers are attached to it).
I've set up my list on index.html next to the calendar to open up in modals. I did this by changing the .html on the thing that adds items to the eventlist in app.js. Everything works fine except the screen freezes up if I click outside of the modal. On the modals that I open from within the calendar this doesn't happen. I added data-backdrop="static" data-keyboard="false" as a way to avoid the problem but I'd like to not have to do that. Does anybody have any idea why this happens?
Here is how I construct the .html in the list:
' ' + val.listtitle + ''
Also it did that before I added the checkboxes, that's for something else all together (querying multiple events from the list at once)
On index.html I have:
$(document).on("click", ".open-myModal", function () {
var myurl = $(this).data('url');
var name = $(this).data('name');
document.getElementById("name").innerHTML = name;
document.getElementById("page").src = myurl;
to handle opening the modal and my modal is:
My theory is I have this problem because I use the modal you guys have in the example to work for the calendar and added a modal of my own making for the eventlist and somehow the problem springs from this but I don't know how.
The text was updated successfully, but these errors were encountered: