Reply To: Custom JS to limit selectable days in Date field not working past DFFS v55

Home Forums General discussion Custom JS to limit selectable days in Date field not working past DFFS v55 Reply To: Custom JS to limit selectable days in Date field not working past DFFS v55

#24098
Carl E Tippins
Participant

    Here’s the console info text and an attachment.

    Resource interpreted as Document but transferred with MIME type image/gif: “<URL>”.
    jquery.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
    send @ jquery.js:4
    ajax @ jquery.js:4
    wrapSoap @ VM713:1
    queryItems @ VM713:1
    spjs_QueryItems @ VM713:1
    loadConfig @ VM756:1
    (anonymous) @ VM756:1
    ExecuteOrDelayUntilEventNotified @ init.js?rev=Xpo7ARBt8xBROO1h5n3s6g%3D%3D:1
    ExecuteOrDelayUntilScriptLoaded @ init.js?rev=Xpo7ARBt8xBROO1h5n3s6g%3D%3D:1
    init @ VM756:1
    (anonymous) @ VM756:1
    (anonymous) @ /SPJS/DFFS/js/DFFS_frontend.min.js:9
    (anonymous) @ jquery.js:2
    globalEval @ jquery.js:2
    text script @ jquery.js:4
    Xb @ jquery.js:4
    y @ jquery.js:4
    c @ jquery.js:4
    XMLHttpRequest.send (async)
    send @ jquery.js:4
    ajax @ jquery.js:4
    jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
    (anonymous) @ NewForm.aspx?RootFolder=:1883
    i @ jquery.js:2
    fireWith @ jquery.js:2
    y @ jquery.js:4
    c @ jquery.js:4
    XMLHttpRequest.send (async)
    send @ jquery.js:4
    ajax @ jquery.js:4
    jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
    (anonymous) @ NewForm.aspx?RootFolder=:1871
    each @ jquery.js:2
    (anonymous) @ NewForm.aspx?RootFolder=:1867
    i @ jquery.js:2
    fireWith @ jquery.js:2
    y @ jquery.js:4
    c @ jquery.js:4
    XMLHttpRequest.send (async)
    send @ jquery.js:4
    ajax @ jquery.js:4
    jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
    load_DFFS_files @ NewForm.aspx?RootFolder=:1864
    jqReady @ NewForm.aspx?RootFolder=:1787
    (anonymous) @ NewForm.aspx?RootFolder=:1804
    setTimeout (async)
    jqReady @ NewForm.aspx?RootFolder=:1803
    (anonymous) @ NewForm.aspx?RootFolder=:1804
    setTimeout (async)
    jqReady @ NewForm.aspx?RootFolder=:1803
    (anonymous) @ NewForm.aspx?RootFolder=:1809
    (anonymous) @ NewForm.aspx?RootFolder=:1810
    VM756:1 *** Show DFFS load time tracker ***
    Either type this in the console: spjs.dffs.showLoadTime()
    Or load the page with “showLoadTime=1” in the URL query string
    *** Show DFFS load time tracker ***
    VM779:317 Uncaught TypeError: moment is not a function
    at HTMLInputElement.beforeShowDay (eval at <anonymous> (jquery.js:2), <anonymous>:317:30)
    at n._generateHTML (jquery-ui.min.js:8)
    at n._updateDatepicker (jquery-ui.min.js:8)
    at n._showDatepicker (jquery-ui.min.js:8)
    at HTMLImageElement.<anonymous> (jquery-ui.min.js:7)
    at HTMLImageElement.dispatch (jquery.js:3)
    at HTMLImageElement.r.handle (jquery.js:3)

    Attachments: