]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaMathView.ml
HUGE COMMIT:
[helm.git] / matita / matita / matitaMathView.ml
index a970c569f96c74ad24e3aa9048b807eac5fe58fc..455d037b9b4b6e1a625ff141e9d1c117da395ff7 100644 (file)
@@ -550,8 +550,9 @@ class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
         | _ -> self#blank ()
 
     method private _loadNReference (NReference.Ref (uri,_)) =
-      let obj = NCicEnvironment.get_checked_obj uri in
-      self#_loadNObj (get_matita_script_current ())#status obj
+      let status = (get_matita_script_current ())#status in
+      let obj = NCicEnvironment.get_checked_obj status uri in
+      self#_loadNObj status obj
 
     method private _loadDir dir = 
       let content = Http_getter.ls ~local:false dir in