You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2019/03/19 15:32:18 UTC

[openmeetings] branch master updated: no jira: code clean-up

This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b3c032  no jira: code clean-up
2b3c032 is described below

commit 2b3c032f5df1a57000d93fbd68507bd567c471cb
Author: Maxim Solodovnik <so...@gmail.com>
AuthorDate: Tue Mar 19 22:32:06 2019 +0700

    no jira: code clean-up
---
 .../org/apache/openmeetings/web/user/profile/SettingsPanel.java  | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/SettingsPanel.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/SettingsPanel.java
index 1a91608..8e16a36 100644
--- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/SettingsPanel.java
+++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/profile/SettingsPanel.java
@@ -114,7 +114,6 @@ public class SettingsPanel extends UserBasePanel {
 		add(new TabbedPanel("tabs", tabs, new Options("active", active)) {
 			private static final long serialVersionUID = 1L;
 
-			/* This doesn't work so far
 			@Override
 			public boolean isActivatingEventEnabled() {
 				return true;
@@ -123,14 +122,6 @@ public class SettingsPanel extends UserBasePanel {
 			@Override
 			public void onActivating(AjaxRequestTarget target, int index, ITab tab) {
 				if (index == 0) {
-					profilePanel.setDefaultModelObject(userDao.get(getUserId()));
-					target.add(profilePanel);
-				}
-			}
-			*/
-			@Override
-			public void onActivate(AjaxRequestTarget target, int index, ITab tab) {
-				if (index == 0) {
 					profilePanel.update(target);
 				} else if (index == 1) {
 					messagesPanel.updateTable(target);