[fix] extract images from child docs too

This commit is contained in:
Rushabh Mehta 2015-05-07 18:05:48 +05:30
parent a0b27ae2d7
commit 063cd4b72e

View file

@ -299,11 +299,12 @@ class Document(BaseDocument):
self._validate_links()
self._validate_selects()
self._validate_constants()
self._extract_images_from_text_editor()
for d in self.get_all_children():
d._validate_selects()
d._validate_constants()
self._extract_images_from_text_editor()
d._extract_images_from_text_editor()
def validate_higher_perm_levels(self):
"""If the user does not have permissions at permlevel > 0, then reset the values to original / default"""