You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/03/25 01:52:23 UTC
svn commit: r640658 -
/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html
Author: jsdelfino
Date: Mon Mar 24 17:52:22 2008
New Revision: 640658
URL: http://svn.apache.org/viewvc?rev=640658&view=rev
Log:
Fix for TUSCANY 2131. Invoke the Javascript code initializing the HTML DOM from the body.onload event, as with IE the DOM is not available until that event is triggered.
Modified:
incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html
Modified: incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html?rev=640658&r1=640657&r2=640658&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html (original)
+++ incubator/tuscany/java/sca/samples/store/src/main/resources/uiservices/store.html Mon Mar 24 17:52:22 2008
@@ -105,13 +105,16 @@
document.getElementById('total').innerHTML = "";
}
- catalog.get(catalog_getResponse);
- shoppingCart.get("", shoppingCart_getResponse);
+ function init() {
+ catalog.get(catalog_getResponse);
+ shoppingCart.get("", shoppingCart_getResponse);
+ }
+
</script>
</head>
-<body>
+<body onload="init()">
<h1>Store</h1>
<div id="store">
<h2>Catalog</h2>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org