diff --git a/customize.dist/src/less2/include/drive.less b/customize.dist/src/less2/include/drive.less index ed442dfef..7839f2526 100644 --- a/customize.dist/src/less2/include/drive.less +++ b/customize.dist/src/less2/include/drive.less @@ -509,9 +509,6 @@ position: absolute; z-index: 50; } - &.cp-app-drive-readonly { // XXX DB never applied? - // background: contrast(@cp_sidebar-right-bg, darken(@cp_sidebar-right-bg, 10%), lighten(@cp_sidebar-right-bg, 10%)); - } h1 { padding-left: 10px; margin-top: 10px; diff --git a/www/admin/inner.js b/www/admin/inner.js index eaafe0ba3..2041bb809 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -430,6 +430,16 @@ define([ return $div; }; + var getInstanceString = function (attr) { + var val = APP.instanceStatus[attr]; + var type = typeof(val); + switch (type) { + case 'string': return val; + case 'object': return val.default; + default: return; + } + }; + create['jurisdiction'] = function () { // XXX make translateable var key = 'jurisdiction'; var $div = makeBlock(key, true); // Msg.admin_jurisdictionHint, Msg.admin_jurisdictionTitle, Msg.admin_jurisdictionButton @@ -519,16 +529,6 @@ define([ )); }; - var getInstanceString = function (attr) { - var val = APP.instanceStatus[attr]; - var type = typeof(val); - switch (type) { - case 'string': return val; - case 'object': return val.default; - default: return; - } - }; - create['name'] = function () { // XXX make translateable var key = 'name'; var $div = makeBlock(key, true);