summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/hosting/server/htdocs/clone
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 08:10:25 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2013-01-03 08:10:25 +0000
commit2853156a2bce535bcaa440c37cf872916f76c03b (patch)
tree8e161033a9bac8274dcaca05940964b91cdb2bfc /sca-cpp/trunk/hosting/server/htdocs/clone
parent55607ea78e10832838d52fdb17cbdfe4355c3265 (diff)
Refactoring, rename isNil to isNull.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428206 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/hosting/server/htdocs/clone')
-rw-r--r--sca-cpp/trunk/hosting/server/htdocs/clone/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/hosting/server/htdocs/clone/index.html b/sca-cpp/trunk/hosting/server/htdocs/clone/index.html
index c6a9658ce0..e9de1be1fb 100644
--- a/sca-cpp/trunk/hosting/server/htdocs/clone/index.html
+++ b/sca-cpp/trunk/hosting/server/htdocs/clone/index.html
@@ -72,7 +72,7 @@ var savedappxml = '';
* Get and display the requested app.
*/
(function getapp() {
- if (isNil(appname))
+ if (isNull(appname))
return false;
workingstatus(true);
showstatus('Loading');
@@ -149,7 +149,7 @@ $('cloneAppForm').onsubmit = function() {
// Check reserved app names
var reserved = mklist('account', 'app', 'cache', 'clone', 'create', 'delete', 'graph', 'home', 'login', 'new', 'page', 'proxy', 'public', 'private', 'info', 'store');
- if (!isNil(assoc(name, map(function(r) { return mklist(r, r); }, reserved)))) {
+ if (!isNull(assoc(name, map(function(r) { return mklist(r, r); }, reserved)))) {
errorstatus('App name is taken, please pick another name');
return false;
}