Fix max_input_vars error when there are too many levels

- max_input_vars 설정과 무관하게 레벨 수를 늘릴 수 있도록 조정
  (레벨 관련 POST 변수들을 하나로 합쳐서 전송)
- 허용되는 최대 레벨 수를 1000에서 10000으로 늘림
  (단, 권장하는 최대 수는 여전히 1000임)
This commit is contained in:
Kijin Sung 2020-09-28 01:10:29 +09:00
parent c34a9a9005
commit 125dea44b6
5 changed files with 26 additions and 15 deletions

View file

@ -6,6 +6,14 @@
jQuery(function($){
$('#point_module_config_form').on('submit', function() {
var level_step = [];
$(this).find('.level_step').each(function() {
level_step.push(parseInt($(this).val(), 10));
});
$('#level_step').val(level_step.join(','));
});
$('button.calc_point').click(function(){
var $this, form, elems, reset, el, fn, i=0;