]> source.dussan.org Git - nextcloud-server.git/commitdiff
Loading icon fix #2198 2316/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 24 Nov 2016 16:26:57 +0000 (17:26 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 24 Nov 2016 16:28:21 +0000 (17:28 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
settings/js/authtoken_view.js
settings/templates/personal.php

index b07d480d66f50b70ccc6f6676e86324a8cf2e746..518eb671b088591c0cee09b25b2154e423e6cb4f 100644 (file)
@@ -96,7 +96,7 @@
                },
 
                toggleLoading: function (state) {
-                       this.$('.token-list').toggleClass('icon-loading', state);
+                       this.$('table').toggleClass('icon-loading', state);
                },
 
                _toggleHeader: function (show) {
index f40cc2d78c3e5f4a694e8be08382fcc4a47d20b3..caddfd9467c7be7605d53553f675456a7a311a48 100644 (file)
@@ -286,7 +286,7 @@ if($_['passwordChangeSupported']) {
 <div id="sessions" class="section">
        <h2><?php p($l->t('Sessions'));?></h2>
        <span class="hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></span>
-       <table>
+       <table class="icon-loading">
                <thead class="token-list-header">
                        <tr>
                                <th><?php p($l->t('Device'));?></th>
@@ -294,7 +294,7 @@ if($_['passwordChangeSupported']) {
                                <th></th>
                        </tr>
                </thead>
-               <tbody class="token-list icon-loading">
+               <tbody class="token-list">
                </tbody>
        </table>
 </div>
@@ -302,7 +302,7 @@ if($_['passwordChangeSupported']) {
 <div id="apppasswords" class="section">
        <h2><?php p($l->t('App passwords'));?></h2>
        <p><?php p($l->t('Passcodes that give an app or device permissions to access your account.'));?></p>
-       <table>
+       <table class="icon-loading">
                <thead class="hidden-when-empty">
                        <tr>
                                <th><?php p($l->t('Name'));?></th>
@@ -310,7 +310,7 @@ if($_['passwordChangeSupported']) {
                                <th></th>
                        </tr>
                </thead>
-               <tbody class="token-list icon-loading">
+               <tbody class="token-list">
                </tbody>
        </table>
        <div id="app-password-form">