|
|
|
@ -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);
|
|
|
|
|