Better, but not yet 100% working clusters, now with structure name.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from model.entry import Entry
|
||||
from model.example import Example
|
||||
from browser import window
|
||||
from model.example_clusters import ExampleClusters
|
||||
|
||||
|
||||
class Model:
|
||||
def __init__(self):
|
||||
@@ -48,6 +50,9 @@ class Model:
|
||||
self.modal = modal
|
||||
self.modal_shown = True
|
||||
|
||||
def pre_view(self):
|
||||
# this should go into "after data change" or something
|
||||
ExampleClusters.rebuild_lists(self)
|
||||
|
||||
def import_xml(self, xml_text):
|
||||
parser = __new__(DOMParser())
|
||||
|
||||
Reference in New Issue
Block a user