Jump to content

On Keypress Ajax Generates error


MOGSY

Recommended Posts

Hi,

I am using build 1.90.0.1530. 

On keypress from UniFormAjaxEvent, ajax generate the following error. The shift is not used, what is the solution for removing this error? 

Uncaught ReferenceError: shift is not defined
    at ctor.eval [as OnKeypress] (eval at AjaxSuccess (ext-unicommon-min.js:formatted:920), <anonymous>:1:1116)
    at ctor.fire (ext-all.js:20)
    at ctor.doFireEvent (ext-all.js:20)
    at ctor.doFireEvent (ext-all.js:20)
    at ctor.b.doFireEvent (ext-all.js:20)
    at ctor.fireEventArgs (ext-all.js:20)
    at ctor.fireEvent (ext-all.js:20)
    at _prkeyp_ (ext-unigui-min.js:9)
    at HTMLDocument.document.onkeypress (ext-unigui-min.js:9)

 

it appears that code is generated from 

function AjaxSuccess(rs) {
    if (_aexc_(rs)) {
        return
    }
    try {
        eval(rs.responseText)
    } catch (err) {
        if (_showAjaxErr) {
            AjaxError(err.message, rs.responseText)
        } else {
            _log("JS Error: " + err.message)
        }
    }
}
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...