fixbug_#21650,21773.
This commit is contained in:
@@ -228,7 +228,7 @@ foreach($fieldParams as $fieldName => $param)
|
||||
<ul>
|
||||
<?php foreach($queries as $queryID => $queryName):?>
|
||||
<?php if(empty($queryID)) continue;?>
|
||||
<?php $query = $this->search->getQuery($queryID);?>
|
||||
<?php $query = $this->search->getById($queryID);?>
|
||||
<li><?php echo html::a("javascript:executeQuery($queryID)", $queryName . ((common::hasPriv('search', 'deleteQuery') and $this->app->user->account == $query->account) ? '<i class="icon icon-close"></i>' : ''), '', "class='label user-query' data-query-id='$queryID' title='{$queryName}'");?></li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
@@ -363,7 +363,9 @@ $(function()
|
||||
var setDateField = function(query, fieldNO)
|
||||
{
|
||||
var $period = $('#selectPeriod');
|
||||
if($period.length) $period.remove();
|
||||
|
||||
// bug #21650
|
||||
// if($period.length) $period.remove();
|
||||
|
||||
<?php
|
||||
$selectPeriod = "<ul id='selectPeriod' class='dropdown-menu'>";
|
||||
|
||||
Reference in New Issue
Block a user