summaryrefslogtreecommitdiffstats
path: root/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-16 02:35:16 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-10-16 02:35:16 +0000
commit93815891615a5aa48d5b11e7b3902d077222bd30 (patch)
tree6364b46cb1108803164311907ed13c296595a61f /sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
parent508fa6f8778f9f7d803eb76b6e664314df5a5abe (diff)
Committing minor local changes to allow moving the location of the project
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html b/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
index 237d5eb1b4..cd9cff53a9 100644
--- a/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
+++ b/sandbox/lresende/sca/samples/store-appengine-webapp/war/store.html
@@ -25,16 +25,20 @@
catalogItems = items;
}
- dojo.addOnUnload(function(){
- catalog.get().addCallback(catalog_getResponse);
- });
+ function init() {
+ try {
+ catalog.get().addCallback(catalog_getResponse);
+ } catch (e) {
+ alert(e);
+ }
+ }
</script>
</head>
-<body>
+<body onload="init()">
<h1>Store</h1>
<div id="store">
<h2>Catalog</h2>