* Fix bug #24472.
This commit is contained in:
@@ -70,7 +70,9 @@ $(function()
|
||||
{
|
||||
var checkedLength = $(":checkbox[name^='productIDList']:checked").length;
|
||||
var summary = checkedProducts.replace('%s', checkedLength);
|
||||
if(cilentLang == "en" && checkedLength < 2) summary = summary.replace('products', 'product');
|
||||
var statistic = "<div id='productsSummary' class='statistic'>" + summary + "</div>";
|
||||
|
||||
if(checkedLength > 0)
|
||||
{
|
||||
$('#productsSummary').remove();
|
||||
|
||||
@@ -256,6 +256,7 @@
|
||||
<?php js::set('orderBy', $orderBy)?>
|
||||
<?php js::set('browseType', $browseType)?>
|
||||
<?php js::set('checkedProducts', $lang->product->checkedProducts);?>
|
||||
<?php js::set('cilentLang', $this->app->getClientLang());?>
|
||||
<?php if(commonModel::isTutorialMode()): ?>
|
||||
<style>
|
||||
#productListForm {overflow: hidden;}
|
||||
|
||||
@@ -30,6 +30,7 @@ $(function()
|
||||
}
|
||||
|
||||
var summary = checkedProjects.replace('%s', checkedLength);
|
||||
if(cilentLang == "en" && checkedLength < 2) summary = summary.replace('items', 'item');
|
||||
var statistic = "<div id='projectsSummary' class='table-statistic'>" + summary + "</div>";
|
||||
if(checkedLength > 0)
|
||||
{
|
||||
@@ -53,6 +54,7 @@ $(function()
|
||||
$('#programForm').addClass('has-row-checked');
|
||||
var checkedLength = $(":checkbox[name^='projectIdList']:checked").length;
|
||||
var summary = checkedProjects.replace('%s', checkedLength);
|
||||
if(cilentLang == "en" && checkedLength < 2) summary = summary.replace('items', 'item');
|
||||
var statistic = "<div id='projectsSummary' class='table-statistic'>" + summary + "</div>";
|
||||
$('#programSummary').addClass('hidden');
|
||||
$('#projectsSummary').remove();
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<?php js::set('selectAll', $lang->selectAll);?>
|
||||
<?php js::set('hasProject', $hasProject);?>
|
||||
<?php js::set('checkedProjects', $lang->program->checkedProjects);?>
|
||||
<?php js::set('cilentLang', $this->app->getClientLang());?>
|
||||
<?php if($programType == 'bygrid'):?>
|
||||
<style>#mainMenu{padding-left: 10px; padding-right: 10px;}</style>
|
||||
<?php endif;?>
|
||||
|
||||
Reference in New Issue
Block a user