This commit is contained in:
wangyidong
2015-12-22 15:01:21 +08:00
parent 7007f4b888
commit b49fae3d74
2 changed files with 2 additions and 2 deletions

View File

@@ -127,11 +127,11 @@
echo html::a('javascript:;', $lang->story->planAB, '', "id='changePlan' " . ($canBatchChangePlan ? '' : "class='disabled'"));
if($canBatchChangePlan)
{
echo "<ul class='dropdown-menu'>";
unset($plans['']);
unset($plans[$plan->id]);
$plans = array(0 => $lang->null) + $plans;
$withSearch = count($plans) > 10;
echo "<ul class='dropdown-menu" . ($withSearch ? ' with-search':'') . "'>";
foreach($plans as $planID => $planName)
{
$actionLink = $this->createLink('story', 'batchChangePlan', "planID=$planID&oldPlanID=$plan->id");

View File

@@ -1376,7 +1376,7 @@ function fixedTfootAction(formID)
if($inputgroup.size() > 0)var $inputwidth = $inputgroup.width();
var tfootOffset = $tfoot.offset().top + $tfoot.height();
var tfootOffset = $tfoot.offset().top + 30;
var windowH = $(window).height();
var tableWidth = $table.width();
if(tfootOffset > windowH)