|
@ -397,7 +397,7 @@ window.configuratorApp = (function(){ |
|
|
* .count number of items in the group |
|
|
* .count number of items in the group |
|
|
*/ |
|
|
*/ |
|
|
refreshDefineGroups: function(cindex) { |
|
|
refreshDefineGroups: function(cindex) { |
|
|
var findDef = /^(|.*_)(([XYZE](MAX|MIN))|(E[0-3]|[XYZE01234])|MAX|MIN|(bed)?K[pid]|HOTEND|HPB|JAPAN|WESTERN|LEFT|RIGHT|BACK|FRONT|[XYZ]_POINT)(_.*|)$/i; |
|
|
var findDef = /^(|.*_)(([XYZE](MAX|MIN))|(E[0-3]|[XYZE01234])|MAX|MIN|(bed)?K[pid]|HOTEND|HPB|JAPAN|WESTERN|CYRILLIC|LEFT|RIGHT|BACK|FRONT|[XYZ]_POINT)(_.*|)$/i; |
|
|
var match_prev, patt, title, nameList, groups = {}, match_section; |
|
|
var match_prev, patt, title, nameList, groups = {}, match_section; |
|
|
$.each(define_list[cindex], function(i, name) { |
|
|
$.each(define_list[cindex], function(i, name) { |
|
|
if (match_prev) { |
|
|
if (match_prev) { |
|
@ -458,7 +458,8 @@ window.configuratorApp = (function(){ |
|
|
break; |
|
|
break; |
|
|
case 'JAPAN': |
|
|
case 'JAPAN': |
|
|
case 'WESTERN': |
|
|
case 'WESTERN': |
|
|
patt = '(JAPAN|WESTERN)'; |
|
|
case 'CYRILLIC': |
|
|
|
|
|
patt = '(JAPAN|WESTERN|CYRILLIC)'; |
|
|
break; |
|
|
break; |
|
|
case 'XMIN': |
|
|
case 'XMIN': |
|
|
case 'XMAX': |
|
|
case 'XMAX': |
|
|