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 2012/10/18 16:15:44 UTC
svn commit: r1399671 -
/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java
Author: solomax
Date: Thu Oct 18 14:15:44 2012
New Revision: 1399671
URL: http://svn.apache.org/viewvc?rev=1399671&view=rev
Log:
Wicket: code is modified to call omComponentInit on every reload
Modified:
incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java
Modified: incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java?rev=1399671&r1=1399670&r2=1399671&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java (original)
+++ incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/MenuPanel.java Thu Oct 18 14:15:44 2012
@@ -150,7 +150,7 @@ public class MenuPanel extends BasePanel
target.add(contents.replace(new ServersPanel("child")));
break;
}
- target.appendJavaScript("location.hash = '" + JavaScriptUtils.escapeQuotes(hash) + "'; if (typeof window.omComponentInit == 'function'){ omComponentInit(); window.omComponentInit = null; };");
+ target.appendJavaScript("location.hash = '" + JavaScriptUtils.escapeQuotes(hash) + "'; if (typeof window.omComponentInit == 'function'){ omComponentInit(); };");
};
}.add(AttributeModifier.replace("href", hash)));
}