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
+1 -1
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");