* finish task #38651.
This commit is contained in:
@@ -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('createCase') >= 0 || href.indexOf('toStory') >= 0 || href.indexOf('create') >= 0 || href.indexOf('delete') >= 0) return true;
|
||||
|
||||
if($that.hasClass('iframe'))
|
||||
if($that.hasClass('iframe'))
|
||||
{
|
||||
url = href;
|
||||
target = '';
|
||||
@@ -25,10 +25,11 @@ $(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();
|
||||
})
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -17,10 +17,10 @@ $(function()
|
||||
url = 'xxc:openUrlInDialog/' + encodeURIComponent(sysurl + href);
|
||||
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();
|
||||
})
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -12,7 +12,7 @@ $(function()
|
||||
var btnClass = " class='" + $that.attr('class') + "'";
|
||||
var action = $that.html();
|
||||
|
||||
if(href.indexOf('browse') >= 0 || href.indexOf('batchCreate') >= 0
|
||||
if(href.indexOf('browse') >= 0 || href.indexOf('batchCreate') >= 0
|
||||
|| href.indexOf('create') >= 0 || href.indexOf('delete') >= 0) return true;
|
||||
|
||||
if($that.hasClass('iframe'))
|
||||
@@ -26,10 +26,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();
|
||||
})
|
||||
|
||||
@@ -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();
|
||||
})
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -16,7 +16,7 @@ $(function()
|
||||
|
||||
if(href.indexOf('create') >= 0 || href.indexOf('delete') >= 0) return true;
|
||||
|
||||
if($that.hasClass('iframe'))
|
||||
if($that.hasClass('iframe'))
|
||||
{
|
||||
url = href;
|
||||
target = '';
|
||||
@@ -27,10 +27,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();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user