Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. when 1st constructor parameter turns out to be a non-empty object instead of a string, then set class properties specified in this object via $.extend(this, $urls) call instead of assigning them from parameters (beware of default value for "HasEmpty" property) - 0.4h
  2. add new class properties (defaults chosen to avoid BC breaks): - 0.1h
    • EmptyTitle - defaults to an empty string
    • EmptyFilterTitle - defaults to an empty string
  3. in the "AjaxDropdownPreloader.ProcessXMLNode" method: - 0.5h
    1. when adding an empty option use value from "AjaxDropdownPreloader.EmptyTitle" instead of an empty string
    2. if value in main field (filter field) is empty then use "AjaxDropdownPreloader.EmptyFilterTitle" property instead of "AjaxDropdownPreloader.EmptyTitle" property

Quote: 1.5h*1.4=2h

Related Discussions

Related Tasks