Allow 'Media' short for 'MediaObject'
svn: r15322
This commit is contained in:
parent
98436e2e53
commit
e847354d8b
@ -38,7 +38,7 @@ def SelectorFactory(classname):
|
|||||||
elif classname == 'Source':
|
elif classname == 'Source':
|
||||||
from selectsource import SelectSource
|
from selectsource import SelectSource
|
||||||
cls = SelectSource
|
cls = SelectSource
|
||||||
elif classname == 'MediaObject':
|
elif classname in ['MediaObject', 'Media']:
|
||||||
from selectobject import SelectObject
|
from selectobject import SelectObject
|
||||||
cls = SelectObject
|
cls = SelectObject
|
||||||
elif classname == 'Repository':
|
elif classname == 'Repository':
|
||||||
|
Loading…
Reference in New Issue
Block a user