summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_encryption/js/detect-migration.js4
-rw-r--r--core/templates/login.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_encryption/js/detect-migration.js b/apps/files_encryption/js/detect-migration.js
index 2cf6a61d145..e726515abc2 100644
--- a/apps/files_encryption/js/detect-migration.js
+++ b/apps/files_encryption/js/detect-migration.js
@@ -19,8 +19,8 @@ $(document).ready(function(){
success: function(response) {
if (response.data.migrationCompleted === false) {
var message = t('files_encryption', 'Initial encryption started... This can take some time. Please wait.');
- $('p[name="message"]').html('<img src="' + OC.imagePath('core', 'loading-dark-small.gif') + '"/> ' + message);
- $('p[name="message"]').removeClass('hidden').addClass('info');
+ $('p[id="message"]').html('<img src="' + OC.imagePath('core', 'loading-dark-small.gif') + '"/> ' + message);
+ $('p[id="message"]').removeClass('hidden').addClass('info');
}
}
});
diff --git a/core/templates/login.php b/core/templates/login.php
index 214fda3b61e..c270963439c 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -18,7 +18,7 @@
<small><?php p($l->t('Please contact your administrator.')); ?></small>
</div>
<?php endif; ?>
- <p name="message" class="hidden">
+ <p id="message" class="hidden">
</p>
<p class="infield grouptop">
<input type="text" name="user" id="user" placeholder=""