1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-24 07:13:08 +02:00

Add in-progress items that need more work or testing as to-do’s for next dev branch

This commit is contained in:
Ryan Cramer
2021-08-26 08:11:03 -04:00
parent e6e08ad3fb
commit 25e89c35c9
4 changed files with 14 additions and 3 deletions

View File

@@ -925,3 +925,9 @@ $focusPointCircleSize: 40px;
display: none;
white-space: nowrap;
}
/* todo: 3.0.190 improves touch support but needs further testing
.gridImage__edit { display:block !important; }
.gridImage__edit span { display:none; }
.gridImage__edit:hover span { display:inline; }
*/

View File

@@ -81,7 +81,8 @@ class PageRender extends WireData implements Module, ConfigurableModule {
*
*/
public function ready() {
if($this->wire('page')->template != 'admin') {
// todo 3.0.190: remove template!=admin condition: https://github.com/processwire/processwire-issues/issues/1424
if($this->wire()->page->template != 'admin') {
$this->addHookBefore('Page::render', $this, 'beforeRenderPage', array('priority' => 1));
}
}