Fix in documentHistory
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 13 Jun 2013 14:43:36 +0000 (16:43 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 13 Jun 2013 14:43:36 +0000 (16:43 +0200)
modules/documentHistory/documentHistory.js

index 2c3a3b6..61eec9e 100644 (file)
@@ -74,6 +74,8 @@ return function(sandbox) {
                 toggleButton('compare', true);\r
                 toggleButton('show2', false);\r
                 toggleButton('restore', false);\r
                 toggleButton('compare', true);\r
                 toggleButton('show2', false);\r
                 toggleButton('restore', false);\r
+            } else {\r
+                toggleItemViews(true);\r
             }\r
         }\r
     };\r
             }\r
         }\r
     };\r