* finish task #38651.

This commit is contained in:
wangyidong
2021-06-03 10:08:21 +08:00
parent 101054020b
commit 8919772d94
5 changed files with 25 additions and 24 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
$(function()
{
$('.main-actions-holder').css('height', '0px');
var $xuanAction = "<div class='xuancard-actions fixed'>";
var xuanAction = "<div class='xuancard-actions fixed'>";
$('.main-col div.main-actions .btn-toolbar a').each(function(){
var $that = $(this);
@@ -14,7 +14,7 @@ $(function()
if(href.indexOf('create') >= 0 || href.indexOf('batchCreate') >= 0 || href.indexOf('delete') >= 0) return true;
if($that.hasClass('iframe'))
if($that.hasClass('iframe'))
{
url = href;
target = '';
@@ -25,10 +25,10 @@ $(function()
target = " target='_blank'";
}
$xuanAction += "<a href='" + url + "'" + title + target + btnClass + '>' + action + "</a>";
xuanAction += "<a href='" + url + "'" + title + target + btnClass + '>' + action + "</a>";
});
$xuanAction += '</div>';
$('#footer').replaceWith($xuanAction);
xuanAction += '</div>';
$('body').append(xuanAction);
$('.xuancard-actions a.iframe').modalTrigger();
})