This commit is contained in:
hufangzhou
2022-04-11 14:40:07 +08:00
parent e7974cb64e
commit 7d807a5694
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -110,6 +110,7 @@ class search extends control
return print(js::closeModal('parent.parent', '', "function(){parent.parent.loadQueries($queryID, $shortcut, '{$data->title}')}"));
}
$this->view->module = $module;
$this->view->onMenuBar = $onMenuBar;
$this->display();
+3
View File
@@ -250,6 +250,7 @@ foreach($fieldParams as $fieldName => $param)
</table>
</form>
<?php js::set('searchCustom', $lang->search->custom);?>
<?php js::set('canSaveQuery', !empty($_SESSION[$module . 'Query']));?>
<script>
var dtOptions =
{
@@ -277,6 +278,8 @@ function executeQuery(queryID)
$(function()
{
if(!canSaveQuery) $('.btn-save-form').attr('disabled', 'disabled');
var $searchForm = $('#<?php echo $formId;?>');
$searchForm.find('select.chosen').chosen().on('chosen:showing_dropdown', function()
{