switch from "name" attribute to "id"

remotes/origin/stable6
Bjoern Schiessle 11 years ago
parent 1065c33543
commit 1536c7ea58
  1. 4
      apps/files_encryption/js/detect-migration.js
  2. 2
      core/templates/login.php

@ -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');
}
}
});

@ -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=""

Loading…
Cancel
Save