FileTooLargeMsg alert displays line-break escape codes?

  •  03-26-2014, 8:39 PM

    FileTooLargeMsg alert displays line-break escape codes?

    I have the following property set: 

    uploader.FileTooLargeMsg = "{0} cannot be uploaded!\n\nFile size ({1}) is too large. The maximum file size allowed is set to: {2}."

     

    But when the javascript alert is displayed the escape characters (line breaks; \n" are displayed) rather than being interpreted as line breaks.

     

    Also tried using double slashes - no luck ...

     

    Also tried using <br> instead of \n\n - no luck

     

    Any ideas? 

View Complete Thread