when: '<span class="fa fa-fw fa-clock-o"></span> ',
action: '<span class="fa fa-fw fa-flag"></span> ',
from: '<span class="fa fa-fw fa-user-circle"></span> ',
- to: '<span class="fa fa-fw fa-user-circle"></span> ',
+ to: '<span class="fa fa-fw fa-user-circle"></span> '
},
format_oclass: function(oclass) {
},
format_ldap_protocol: function(p) {
- if (p === undefined) return 'LDAP';
- if (p === 'ldap') return 'LDAP';
- if (p === 'ldaps') return 'LDAPS';
+ if (p === undefined) { return 'LDAP'; }
+ if (p === 'ldap') { return 'LDAP'; }
+ if (p === 'ldaps') { return 'LDAPS'; }
return 'unknown';
},
allowBlank: false,
minValue: 0,
fieldLabel: gettext('Level')
- },
+ }
]
},
3002: {
labelWidth: 150,
fieldLabel: gettext('Test String'),
xtype: 'pmgRegexTester',
- regexFieldReference: 'value',
+ regexFieldReference: 'value'
}
]
},
proxy: {
type: 'proxmox',
url: '/api2/json/config/mimetypes'
- },
+ }
},
fieldLabel: gettext('Content Type'),
anyMatch: true,
labelWidth: 150,
allowBlank: false,
reset: Ext.emptyFn
- },
+ }
]
},
3004: {
proxy: {
type: 'proxmox',
url: '/api2/json/config/mimetypes'
- },
+ }
},
fieldLabel: gettext('Content Type'),
anyMatch: true,
extractQuarantineAction: function() {
- if (PMG.Utils.quarantineActionExtracted) return;
+ if (PMG.Utils.quarantineActionExtracted) { return; }
PMG.Utils.quarantineActionExtracted = true;
var newsearch = Ext.Object.toQueryString(qs);
var newurl = location.protocol + "//" + location.host + location.pathname;
- if (newsearch) newurl += '?' + newsearch;
+ if (newsearch) { newurl += '?' + newsearch; }
newurl += location.hash;
if (window.history) {