Browse code

FEATBL-298 Fix: no public sharing option for mailshare mbox

David Phan authored on 07/02/2018 13:06:55
Showing 1 changed files
... ...
@@ -32,6 +32,12 @@ public class MailshareMailboxSharingEditor extends BaseSharingEditor {
32 32
 
33 33
 	public static final String TYPE = "bm.ac.MailshareMailboxSharingEditor";
34 34
 
35
+	@Override
36
+	public void loadModel(JavaScriptObject model) {
37
+		super.loadModel(model);
38
+		edit.setPublicSharingVisible(false);
39
+	}
40
+
35 41
 	public static void registerType() {
36 42
 
37 43
 		GwtWidgetElement.register(TYPE, new IGwtDelegateFactory<IGwtWidgetElement, WidgetElement>() {