- // -count here is adjustment - 1px for each textarea
- var split = h - count - this.MinHeight + this.MinTextareasHeight;
- if (split < this.MinTextareasHeight) split = this.MinTextareasHeight;
+ // -count here is adjustment - 1px for each control
+ var split = h - count - this.MinHeight + this.MinControlsHeight;
+ if (split < this.MinControlsHeight) split = this.MinControlsHeight;
var new_height = Math.round(split / count) -2;
-// alert('h is: '+h+' min height is '+this.MinHeight+' MinTextareasHeight is '+this.MinTextareasHeight+' -> '+split+' to split between '+count+' new height is '+new_height);
-// print_pre(this.Textareas)
+// alert('h is: '+h+' min height is '+this.MinHeight+' MinControlsHeight is '+this.MinControlsHeight+' -> '+split+' to split between '+count+' new height is '+new_height);
trigger_error('<span class="debug_error">no filters defined</span> for prefix <b>'.$this->Prefix.'</b>, but <b>DrawFilterMenu</b> tag used', E_USER_WARNING);