prevent posting before acl got populated since this will disregard the default acl setting and the post will be visible to the default audience without warning. the chance that this happens is quite small while writing a post but can easily happen on eg editing photos (maybe just tick a checkbox and press submit). the acl and submit buttons are disabled by default and will be activated as soon as acl is populated.

This commit is contained in:
marijus
2014-11-08 21:55:44 +01:00
parent ec4e4b82e9
commit 862f0ff29a
6 changed files with 11 additions and 10 deletions

View File

@@ -269,5 +269,6 @@ ACL.prototype.populate = function(data){
$(el).removeAttr("data-src");
});
that.update_view();
$('#dbtn-submit, #dbtn-acl').prop('disabled', false);
}