diff documentViewer.py @ 474:0bc4a153863a elementtree

more cleanup (before reversing macro order)
author casties
date Fri, 05 Aug 2011 15:31:27 +0200
parents 74e9e74277e9
children 5a3ab27385ce
line wrap: on
line diff
--- a/documentViewer.py	Fri Aug 05 11:24:42 2011 +0200
+++ b/documentViewer.py	Fri Aug 05 15:31:27 2011 +0200
@@ -300,6 +300,12 @@
             else:
                 viewMode = "images"
                 
+        elif viewMode == "text_dict":
+            # legacy fix
+            viewMode = "text"
+            viewType = "dict"
+            
+                
         pageinfo = self.getPageinfo(start=start, current=pn, docinfo=docinfo, viewMode=viewMode, viewType=viewType, tocMode=tocMode)
                     
         # get template /template/viewer_main