diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-06 07:12:30 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-06 07:12:30 +0000 |
commit | 6860b985ae504a1375ee3dfadc1f5a59fe198bac (patch) | |
tree | d8dc4556b9feda788e3a07a381d42e881dbfec9f /sca-cpp/trunk/modules/edit/htdocs/edit/index.html | |
parent | b175edffceb282100b0359db6d90715ce70b4864 (diff) |
Support service promotion and improve component layout algorithm.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1055767 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/edit/htdocs/edit/index.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/edit/index.html b/sca-cpp/trunk/modules/edit/htdocs/edit/index.html index d5df8bc678..e4ea555322 100644 --- a/sca-cpp/trunk/modules/edit/htdocs/edit/index.html +++ b/sca-cpp/trunk/modules/edit/htdocs/edit/index.html @@ -32,20 +32,14 @@ * Return the current app name. */ function appname() { - var qs = window.location.toString().split('?'); - if (isNil(cdr(qs))) - return null; - var p = cadr(qs).split('='); - if (isNil(p) || isNil(cdr(p))) - return null; - return cadr(p); + return ui.queryParams()['app']; } /** * Display the editor for an app. */ function editapp(name) { - if (name == null) + if (isNil(name)) return; $('titleDiv').innerHTML = 'Editing: ' + name; $('editDiv').innerHTML = |