Skip to content

Commit 033fe19

Browse files
author
neustadt
committed
fix CodeMirror scroll height, clear cache on update
1 parent 5584565 commit 033fe19

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Resources/views/backend/_resources/css/query-manager.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,8 @@ li.CodeMirror-hint-active {
3737

3838
.x-panel.query-manager-results .x-grid-view {
3939
overflow-x: auto !important;
40+
}
41+
42+
.x-panel.query-manager-detail .CodeMirror-scroll {
43+
height: 100% !important;
4044
}

Resources/views/backend/wbm_query_manager/view/main/detail.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
Ext.define('Shopware.apps.WbmQueryManager.view.main.Detail', {
1919
extend:'Ext.form.Panel',
2020
alias:'widget.query-manager-detail',
21+
cls:'query-manager-detail',
2122
collapsible : false,
2223
bodyPadding : 10,
2324
split : false,

WbmQueryManager.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,7 @@ public function update(UpdateContext $context)
6666

6767
$this->container->get('shopware.db')->query($sql);
6868
}
69+
70+
$context->scheduleClearCache(InstallContext::CACHE_LIST_ALL);
6971
}
7072
}

0 commit comments

Comments
 (0)