mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
For plugin outlets, automatically assign the unique name as a class to
the connector.
This commit is contained in:
parent
57b89a2c7f
commit
0e0d8e79df
@ -77,7 +77,7 @@ function buildConnectorCache() {
|
||||
// We are going to add it back with the proper template
|
||||
_connectorCache[outletName].removeObject(viewClass);
|
||||
} else {
|
||||
viewClass = Em.View.extend({ classNames: [outletName + '-outlet'] });
|
||||
viewClass = Em.View.extend({ classNames: [outletName + '-outlet', uniqueName] });
|
||||
}
|
||||
_connectorCache[outletName].pushObject(viewClass.extend(mixin));
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user