Skip to content

Commit

Permalink
remove the overriding opendialog (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information
xh3n1 authored and Sam Tuke committed Nov 6, 2018
1 parent f15899d commit 799b85c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
7 changes: 0 additions & 7 deletions js/dist/phpList_ui_bootlist.js
Expand Up @@ -2320,13 +2320,6 @@ $('body.fixed li.list').each(function(){
$('span.yes').addClass('glyphicon glyphicon-ok text-success').empty();
$('span.no').addClass('glyphicon glyphicon-ban-circle text-danger').empty();

/* modals */
$('.opendialog').each(function(k,val){
var value = $(this).attr('href');
$(this).attr({ 'data-target':'#mymodal'+k, 'data-toggle':'modal', 'href':value + '&embed=yes&omitall=yes'});
$('#footer').append('<div class="modal fade" id="mymodal'+k+'" tabindex="-1" role="dialog" aria-labelledby="mymodalLabel" aria-hidden="true"><div class="modal-dialog modal-lg"><button type="button" class="close externo" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">x</span></button><div class="modal-content well col-lg-12"></div></div></div>');
});

/* tables*/

$('body.userhistory #subscription .content, body.statsoverview .content, body.domainstats .content,body.dbcheck .content,body.bouncerules .content,body.plugins .content,body.eventlog .content').first().addClass('table-responsive');
Expand Down

0 comments on commit 799b85c

Please sign in to comment.