Skip to content
Snippets Groups Projects
Commit 530993d25fe5 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

[components] `content_components` (e.g `rqlinput` and `applmessages`...

[components] `content_components` (e.g `rqlinput` and `applmessages` components) must be placed before the `div.pageContent` to avoid them vanish after `div.pageContent` reloaded.

closes #3905675
parent ead4b71ff86f
No related branches found
No related tags found
No related merge requests found
...@@ -130,6 +130,8 @@ ...@@ -130,6 +130,8 @@
@monkeypatch(basetemplates.TheMainTemplate) @monkeypatch(basetemplates.TheMainTemplate)
def content_column(self, view, content_cols): def content_column(self, view, content_cols):
w = self.w w = self.w
components = self._cw.vreg['components']
self.content_components(view, components)
w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % { w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % {
'col': content_cols}) 'col': content_cols})
w(u'<div id="pageContent">') w(u'<div id="pageContent">')
...@@ -133,8 +135,6 @@ ...@@ -133,8 +135,6 @@
w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % { w(u'<div id="main-center" class="col-md-%(col)s" role="main">' % {
'col': content_cols}) 'col': content_cols})
w(u'<div id="pageContent">') w(u'<div id="pageContent">')
components = self._cw.vreg['components']
self.content_components(view, components)
self.content_header(view) self.content_header(view)
vtitle = self._cw.form.get('vtitle') vtitle = self._cw.form.get('vtitle')
if vtitle: if vtitle:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment