Now logging in with Red zaccount/zentity instead of Friendica user. Yay. Most existing Friendica functionality is now stuffed since the Red structures are quite different.

This commit is contained in:
friendica
2012-08-27 21:17:46 -07:00
parent 8c3c3d5fd7
commit 7fad83cea4
13 changed files with 218 additions and 159 deletions

21
view/js/mod_settings.js Normal file
View File

@@ -0,0 +1,21 @@
var ispublic = aStr['everybody'] ;
$(document).ready(function() {
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
var selstr;
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
selstr = $(this).text();
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
$('#jot-public').hide();
});
if(selstr == null) {
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
$('#jot-public').show();
}
}).trigger('change');
});