]> source.dussan.org Git - nextcloud-server.git/commitdiff
switch from "name" attribute to "id"
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 27 Nov 2013 16:01:21 +0000 (17:01 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 27 Nov 2013 16:01:21 +0000 (17:01 +0100)
apps/files_encryption/js/detect-migration.js
core/templates/login.php

index 2cf6a61d14584c994058a48df36cd444c44c9922..e726515abc226f1ac2de60594c74a854a2bab789 100644 (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');
                                }
                        }
                });
index 214fda3b61e3d4eed27a1023000f8be445282a3f..c270963439c8288e750f4fb229daa04aeafdd672 100644 (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=""