Open new jquery ui dialog in add/edit block - apply bootstrap styles?
Permalink
Hey devs!
Can somebody help me out regarding opening new dialog windows in the add/edit block interface?
I have a div element with id="myForm" in my form_setup_html.php and I do use some bootstrap 2 styles.
I trigger it the following way:
But the bootstrap styles (css forms) are not applied in the dialog window. I guess because of cloning the content or something? Has somebody an working example for that?
Thanks in advance!
Can somebody help me out regarding opening new dialog windows in the add/edit block interface?
I have a div element with id="myForm" in my form_setup_html.php and I do use some bootstrap 2 styles.
I trigger it the following way:
$("#myForm").dialog({ height: 200, modal: true });
But the bootstrap styles (css forms) are not applied in the dialog window. I guess because of cloning the content or something? Has somebody an working example for that?
Thanks in advance!
Try adding the following class to your div
it should work