summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-06-10 12:01:54 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-06-10 12:11:05 +0200
commit580155abe716dd9fb385823819c473313c4e3dd1 (patch)
tree9fd49a97b5c0b64e0b37b5dbc6a95715fbf0d8d6 /settings/templates
parent4d88302b3adba16e99899d31e4e04ae48aa067d8 (diff)
downloadnextcloud-server-580155abe716dd9fb385823819c473313c4e3dd1.tar.gz
nextcloud-server-580155abe716dd9fb385823819c473313c4e3dd1.zip
Load the update information asyncroniously to fix the page load speed
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/apps.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 0904f31df4d..c88efb8746a 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -108,9 +108,7 @@ script(
</div>
{{/unless}}
- {{#if update}}
- <input class="update" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
- {{/if}}
+ <input class="update hidden" type="submit" value="<?php p($l->t('Update to %s', array('{{update}}'))); ?>" data-appid="{{id}}" />
{{#if active}}
<input class="enable" type="submit" data-appid="{{id}}" data-active="true" value="<?php p($l->t("Disable"));?>"/>
<input type="checkbox" class="groups-enable" id="groups_enable-{{id}}"/>