summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r--settings/templates/apps.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 83d63b6b417..8efbcf0a7e9 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -14,9 +14,9 @@
<li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>"
data-type="<?php echo $app['internal'] ? 'internal' : 'external' ?>" data-installed="1">
<a class="app<?php if(!$app['internal']) echo ' externalapp' ?>" href="?appid=<?php echo $app['id'] ?>"><?php echo htmlentities($app['name']) ?></a>
- <span class="hidden">
- <?php OC_JSON::encodedPrint($app,false) ?>
- </span>
+ <script type="application/javascript">
+ appData_<?php echo $app['id'] ?>=<?php OC_JSON::encodedPrint($app,false) ?>;
+ </script>
<?php if(!$app['internal']) echo '<small class="externalapp list">3rd party</small>' ?>
</li>
<?php endforeach;?>