|
@@ -180,7 +180,11 @@ function saveSettingsValues(){
|
|
|
if(v.type === 'number' || v.type === 'text'){
|
|
if(v.type === 'number' || v.type === 'text'){
|
|
|
// Special Conditions
|
|
// Special Conditions
|
|
|
if(cVal === 'JVMOptions'){
|
|
if(cVal === 'JVMOptions'){
|
|
|
- sFn(v.value.split(' '))
|
|
|
|
|
|
|
+ if(!v.value.trim()) {
|
|
|
|
|
+ sFn([])
|
|
|
|
|
+ } else {
|
|
|
|
|
+ sFn(v.value.trim().split(/\s+/))
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
sFn(v.value)
|
|
sFn(v.value)
|
|
|
}
|
|
}
|