1
0
Fork 0

cleanup: remove the modal code from the contact page since it is now done with function frio_contact_photo_menu()

This commit is contained in:
rabuzarus 2016-04-20 21:11:58 +02:00
parent 438427ebf4
commit 02654c60ae

View file

@ -55,28 +55,8 @@
{{$paginate}}
</div>
{{* The modals for Poke and Messages
this needs to be removed and do it with js *}}
<div class="modal" id="PokeModal" tabindex="-1" role="dialog" aria-labelledby="PokeModal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
<div class="modal" id="MailModal" tabindex="-1" role="dialog" aria-labelledby="MailModal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
<script>
$(document).ready(function() {
// replace data target for poke & private Message to make Modal Dialog possible
// $('li a[href^="{{$baseurl}}/poke/?f"]').attr('data-target','#PokeModal').attr('data-toggle', 'modal');
// $('li a[href^="{{$baseurl}}/message/new"]').attr('data-target','#MailModal').attr('data-toggle', 'modal');
// javascript dialog to batch actions
$(".batch-action").click(function(e){
if (confirm($(this).attr('value')+" ?")) {