cms fixes
This commit is contained in:
parent
fa390039ff
commit
be93aa027f
@ -34,13 +34,14 @@ class DocType:
|
||||
self.doc.custom_css = temp.render(doc = self.doc)
|
||||
if self.doc.add_css:
|
||||
self.doc.custom_css += '\n\n/* User CSS */\n\n' + self.doc.add_css
|
||||
|
||||
from webnotes.cms.make import make_web_core
|
||||
make_web_core()
|
||||
|
||||
from webnotes.session_cache import clear_cache
|
||||
clear_cache('Guest')
|
||||
|
||||
del self.doc.fields['small_font_size']
|
||||
|
||||
|
||||
def on_update(self):
|
||||
"""rebuild pages"""
|
||||
from webnotes.cms.make import make_web_core
|
||||
make_web_core()
|
||||
|
Loading…
x
Reference in New Issue
Block a user