- a = boundFunction(self.session.openWithCallback, self.menuClosed, Menu, node, node.childNodes)
+ x = getValbyAttr(node, "flushConfigOnClose")
+ if x == "1":
+ a = boundFunction(self.session.openWithCallback, self.menuClosedWithConfigFlush, Menu, node, node.childNodes)
+ else:
+ a = boundFunction(self.session.openWithCallback, self.menuClosed, Menu, node, node.childNodes)