RM_15073_list_custom_field_filter_wider_V2.3.2.diff

Jérôme BATAILLE, 2013-10-09 12:38

Download (646 Bytes)

View differences:

public/javascripts/application.js (copie de travail)
280 280
function toggleMultiSelect(el) {
281 281
  if (el.attr('multiple')) {
282 282
    el.removeAttr('multiple');
283
    // Smile specific : Filter length of values list increased
284
    el.attr('size', 1);
283 285
  } else {
284 286
    el.attr('multiple', true);
287
    // Smile specific : Filter length of values list increased
288
    if (el.children().length > 10)
289
      el.attr('size', 10);
290
    else
291
      el.attr('size', 4);
285 292
  }
286 293
}
287 294