You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/08/22 10:15:32 UTC
svn commit: r688015 - in /myfaces/tobago/trunk/theme:
scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/
standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/
Author: bommel
Date: Fri Aug 22 01:15:31 2008
New Revision: 688015
URL: http://svn.apache.org/viewvc?rev=688015&view=rev
Log:
(TOBAGO-694) Unresponsive image url blocks tobago
merged to trunk
Modified:
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java
myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java?rev=688015&r1=688014&r2=688015&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java (original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/PageRenderer.java Fri Aug 22 01:15:31 2008
@@ -462,6 +462,9 @@
if (debugMode) {
writer.writeJavascript("TbgTimer.endBody = new Date();");
}
+
+ writer.writeJavascript("setTimeout(\"Tobago.init('" + clientId + "')\", 1000)");
+
writer.endElement(HtmlConstants.BODY);
writer.endElement(HtmlConstants.HTML);
Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=688015&r1=688014&r2=688015&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Fri Aug 22 01:15:31 2008
@@ -233,6 +233,8 @@
*/
openPopups: new Array(),
+ initMarker: false,
+
// -------- Functions -------------------------------------------------------
@@ -241,6 +243,12 @@
* Called via onload attribute of body tag
*/
init: function(pageId) {
+
+ if (this.initMarker) {
+ return;
+ }
+ this.initMarker = true;
+
// new LOG.LogArea({hide: false});
// LOG.show();
if (TbgTimer.endBody) {
@@ -847,7 +855,7 @@
},
/**
- * Init function for SelectOneradio.
+ * Init function for SelectOneRadio.
*/
selectOneRadioInit: function(name) {
var elements = document.getElementsByName(name);