aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-01-15 11:34:42 +0100
committerMario <mario@mariovavti.com>2018-01-16 09:53:00 +0100
commit42878c40fc2e757cd0eff8e28f5663bbf5726988 (patch)
tree3826ffe97d9ffe998d1e9a1ce1fbbec43181771c /view/js
parent09abba3dd0ed19153433ab7e88390b80576dc75b (diff)
downloadvolse-hubzilla-42878c40fc2e757cd0eff8e28f5663bbf5726988.tar.gz
volse-hubzilla-42878c40fc2e757cd0eff8e28f5663bbf5726988.tar.bz2
volse-hubzilla-42878c40fc2e757cd0eff8e28f5663bbf5726988.zip
fix some regressions with permission roles
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_connedit.js4
-rw-r--r--view/js/mod_defperms.js4
-rw-r--r--view/js/mod_settings.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/view/js/mod_connedit.js b/view/js/mod_connedit.js
index 7100e0d07..34e9a3b21 100644
--- a/view/js/mod_connedit.js
+++ b/view/js/mod_connedit.js
@@ -19,7 +19,7 @@ $(document).ready(function() {
$('#id_permcat').change(function() {
- $('.loading-role-rotator').spin(true);
+ $('.loading').toggleClass('invisible');
var permName = $('#id_permcat').val();
loadAbookRole(permName);
});
@@ -128,7 +128,7 @@ function loadAbookRole(name) {
if(this.value)
$('#me_id_perms_' + this.name).attr('checked','checked');
});
- $('.loading-role-rotator').spin(false);
+ $('.loading').toggleClass('invisible');
});
}
diff --git a/view/js/mod_defperms.js b/view/js/mod_defperms.js
index c89142579..18ebe268e 100644
--- a/view/js/mod_defperms.js
+++ b/view/js/mod_defperms.js
@@ -1,7 +1,7 @@
$(document).ready(function() {
$('#id_permcat').change(function() {
- $('.loading-role-rotator').show();
+ $('.loading').toggleClass('invisible');
var permName = $('#id_permcat').val();
loadConnectionRole(permName);
});
@@ -25,7 +25,7 @@ function loadConnectionRole(name) {
if(this.value)
$('#id_perms_' + this.name).attr('checked','checked');
});
- $('.loading-role-rotator').hide();
+ $('.loading').toggleClass('invisible');
});
}
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js
index f9faa3d5c..d3392c748 100644
--- a/view/js/mod_settings.js
+++ b/view/js/mod_settings.js
@@ -19,7 +19,7 @@ $(document).ready(function() {
});
$('#id_permcat_list').change(function() {
- $('.loading-role-rotator').spin(true);
+ $('.loading').toggleClass('invisible');
var permName = $('#id_permcat').val();
loadPermcat(permName);
});
@@ -172,7 +172,7 @@ function loadPermcat(name) {
if(this.value)
$('#me_id_perms_' + this.name).attr('checked','checked');
});
- $('.loading-role-rotator').spin(false);
+ $('.loading').toggleClass('invisible');
});
}