I have the following link to open a view in a modal window:
<a href="#vCardModal" data-toggle="modal"><img
src="{{=URL('static','img/icons/vCard.png')}}" alt="" width="48px"
height="48px" /></a>
<div id="vCardModal" class="modal hide fade">
{{=LOAD('vcard','mailVcard.load', args=node.id, ajax=True,
ajax_trap=True)}}
</div> <!-- /modal -->
This is the mailVcard.load view:
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">×</button>
<h3>{{=response.bannerHeader}}</h3>
</div> <!-- /.modal-header -->
<div class="modal-body">
<form action="" enctype="multipart/form-data" method="post"
class="form-horizontal">
<div class="control-group">
<div class="controls">
{{=form.custom.widget.replyTo}}
</div> <!-- /.controls -->
</div> <!-- /.control-group -->
<div class="control-group">
<div class="controls">
{{=form.custom.widget.to}}
</div> <!-- /.controls -->
</div> <!-- /.control-group -->
</div> <!-- /.modal-body -->
<div class="modal-footer">
<div class="control-group">
<div class="controls">
{{=form.custom.submit}}
<button type="button" class="btn" data-dismiss="modal"
style="margin-right: 125px;">Sluit</button>
{{=form.custom.end}}
</div> <!-- /.controls -->
</div> <!-- /.control-group -->
</div> <!-- /.modal-footer -->
When I click the submit button, nothing happens. What in Bootstrap modal is
the cause of this problem,
what is the easiest way to solve it?
Regards,
Annet
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.