mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Merge pull request #4624 from codewithvk/private/codewithvk/pass_ui_theme_to
fix(settings): send ui_theme input to cool settings iframe
This commit is contained in:
commit
14ed337e2d
2 changed files with 4 additions and 1 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<input type="hidden" name="wopi_setting_base_url" :value="wopiSettingBaseUrl">
|
||||
<input type="hidden" name="iframe_type" :value="iframeType">
|
||||
<input type="hidden" name="css_variables" :value="cssVariables">
|
||||
<input type="hidden" name="ui_theme" :value="uiTheme">
|
||||
</form>
|
||||
<iframe :id="iframeName"
|
||||
:name="iframeName"
|
||||
|
|
@ -25,7 +26,7 @@
|
|||
|
||||
<script>
|
||||
|
||||
import { generateCSSVarTokens } from '../helpers/coolParameters.js'
|
||||
import { generateCSSVarTokens, getUITheme } from '../helpers/coolParameters.js'
|
||||
|
||||
export default {
|
||||
name: 'CoolFrame',
|
||||
|
|
@ -57,6 +58,7 @@ export default {
|
|||
formAction: '',
|
||||
cssVariables: generateCSSVarTokens(),
|
||||
isIframeLoaded: false,
|
||||
uiTheme: getUITheme(),
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
|||
|
|
@ -168,4 +168,5 @@ export {
|
|||
getUIDefaults,
|
||||
getCollaboraTheme,
|
||||
generateCSSVarTokens,
|
||||
getUITheme,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue