]> source.dussan.org Git - nextcloud-server.git/commitdiff
omit type attribute in script tag to use fallback (text/javascript)
authorJörn Friedrich Dreyer <jfd@butonic.de>
Tue, 18 Dec 2012 20:47:51 +0000 (21:47 +0100)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 2 Jan 2013 11:13:07 +0000 (12:13 +0100)
settings/templates/apps.php

index 38e2af8a51ae14638d19c3fa14018f208ec95e4e..179ce9c5405d1596c6d8d01e8bce607a6b7daaa7 100644 (file)
@@ -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>' ?>