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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]