Add Angular module assignation in page frame
This commit is contained in:
parent
3f22303737
commit
7e7b36f47f
|
@ -270,6 +270,15 @@
|
|||
return [NSString stringWithFormat: @"var labels = %@;", [self _stringsForFramework: frameworkName]];
|
||||
}
|
||||
|
||||
- (NSString *) angularModule
|
||||
{
|
||||
NSString *frameworkName;
|
||||
|
||||
frameworkName = [[context page] frameworkName];
|
||||
|
||||
return [NSString stringWithFormat: @"SOGo.%@", frameworkName];
|
||||
}
|
||||
|
||||
- (NSString *) pageJavaScriptURL
|
||||
{
|
||||
WOComponent *page;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
</var:if-ie>
|
||||
</head>
|
||||
|
||||
<body var:class="bodyClasses"
|
||||
<body var:data-ng-app="angularModule" var:class="bodyClasses"
|
||||
><var:if condition="isCompatibleBrowser"
|
||||
><var:if condition="singleWindowModeEnabled"
|
||||
><div id="popupFrame" style="display: none;"><iframe width="100%" height="100%" src="/SOGo/loading"><!-- space --></iframe></div></var:if
|
||||
|
|
Loading…
Reference in a new issue