Skip to content

Commit

Permalink
fix CodeMirror scroll height, clear cache on update
Browse files Browse the repository at this point in the history
  • Loading branch information
neustadt committed Mar 1, 2017
1 parent 5584565 commit 033fe19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/views/backend/_resources/css/query-manager.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ li.CodeMirror-hint-active {

.x-panel.query-manager-results .x-grid-view {
overflow-x: auto !important;
}

.x-panel.query-manager-detail .CodeMirror-scroll {
height: 100% !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
Ext.define('Shopware.apps.WbmQueryManager.view.main.Detail', {
extend:'Ext.form.Panel',
alias:'widget.query-manager-detail',
cls:'query-manager-detail',
collapsible : false,
bodyPadding : 10,
split : false,
Expand Down
2 changes: 2 additions & 0 deletions WbmQueryManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ public function update(UpdateContext $context)

$this->container->get('shopware.db')->query($sql);
}

$context->scheduleClearCache(InstallContext::CACHE_LIST_ALL);
}
}

0 comments on commit 033fe19

Please sign in to comment.