summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-12-18 21:47:51 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-01-02 12:13:07 +0100
commited060707414bee50d7360c6eda05a4da475295af (patch)
tree95575ba80ff873d05982c9a64f3da2dcea4da29b
parente998da06d1950b5c85205e035a86e7175819a05c (diff)
downloadnextcloud-server-ed060707414bee50d7360c6eda05a4da475295af.tar.gz
nextcloud-server-ed060707414bee50d7360c6eda05a4da475295af.zip
omit type attribute in script tag to use fallback (text/javascript)
-rw-r--r--settings/templates/apps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 38e2af8a51a..179ce9c5405 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -15,7 +15,7 @@
<li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>" <?php if ( isset( $app['ocs_id'] ) ) { echo "data-id-ocs=\"{$app['ocs_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>
- <script type="application/javascript">
+ <script>
appData_<?php echo $app['id'] ?>=<?php OC_JSON::encodedPrint($app, false) ?>;
</script>
<?php if(!$app['internal']) echo '<small class="externalapp list">3rd party</small>' ?>