diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-07-16 06:47:37 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-07-16 06:47:37 +0000 |
commit | f82576588fc9672a011655e709179eb43e5ab5b4 (patch) | |
tree | 159705233ce5c77c3975764d3211439171029147 /sca-cpp/trunk/hosting/server/htdocs/create/index.html | |
parent | 9bcbce787a3e7ecbc257a773be29edb1ae34f37f (diff) |
Improve caching support and some of the navigations in the hosting environment.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361914 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/hosting/server/htdocs/create/index.html')
-rw-r--r-- | sca-cpp/trunk/hosting/server/htdocs/create/index.html | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/sca-cpp/trunk/hosting/server/htdocs/create/index.html b/sca-cpp/trunk/hosting/server/htdocs/create/index.html index 825587627b..d8d2b30f3c 100644 --- a/sca-cpp/trunk/hosting/server/htdocs/create/index.html +++ b/sca-cpp/trunk/hosting/server/htdocs/create/index.html @@ -41,17 +41,24 @@ </div> <script type="text/javascript"> +(function() { -// Set page titles -document.title = ui.windowtitle(location.hostname) + ' - Create App'; +/** + * Set page titles. + */ +document.title = config.windowtitle() + ' - Create App'; $('viewhead').innerHTML = '<span class="smenu">Create an App</span>'; -// Set images +/** + * Set images. + */ $('appimg').src = ui.b64img(appcache.get('/public/app.b64')); -// Init service references -var editWidget = sca.component("EditWidget"); -var apps = sca.reference(editWidget, "apps"); +/** + * Init service references. + */ +var editorComp = sca.component("Editor"); +var apps = sca.reference(editorComp, "apps"); /** * The current app entry and corresponding saved XML content. @@ -105,8 +112,12 @@ $('createAppCancelButton').onclick = function() { history.back(); }; -showStatus(defaultStatus()); +/** + * Show the status. + */ +showOnlineStatus(); +})(); </script> </div> |