##// END OF EJS Templates
Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
Jason Grout -
Show More
@@ -360,7 +360,7 b' class Widget(LoggingConfigurable):'
360 elif isinstance(x, string_types) and x.startswith('IPY_MODEL_') and x[10:] in Widget.widgets:
360 elif isinstance(x, string_types) and x.startswith('IPY_MODEL_') and x[10:] in Widget.widgets:
361 # we want to support having child widgets at any level in a hierarchy
361 # we want to support having child widgets at any level in a hierarchy
362 # trusting that a widget UUID will not appear out in the wild
362 # trusting that a widget UUID will not appear out in the wild
363 return Widget.widgets[x]
363 return Widget.widgets[x[10:]]
364 else:
364 else:
365 return x
365 return x
366
366
General Comments 0
You need to be logged in to leave comments. Login now