switch from "name" attribute to "id"

This commit is contained in:
Bjoern Schiessle 2013-11-27 17:01:21 +01:00
parent 1065c33543
commit 1536c7ea58
2 changed files with 3 additions and 3 deletions

View File

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

View File

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