Changes between Initial Version and Version 2 of Ticket #11227


Ignore:
Timestamp:
Jun 29, 2015, 10:45:55 AM (9 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11227

    • Property Version changed from to 3.6.6 (SVN - trunk)
    • Property Component changed from General to UI : Dialogs
  • Ticket #11227 – Description

    initial v2  
    11The definition of the function returned from dialog.validate.functions suffers from two bugs.
    22
    3 1) When obtaining the "value" from the arguments, the inner function should be referencing its own arguments, not those of the outer function.
    4 2) When calling functions, it should be using "call" and passing "this" so that other validation functions passed as arguments will have the item as "this" as they expect.
     31. When obtaining the "value" from the arguments, the inner function should be referencing its own arguments, not those of the outer function.
     42. When calling functions, it should be using "call" and passing "this" so that other validation functions passed as arguments will have the item as "this" as they expect.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy