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)));
                                        }


Reply via email to