You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

this.Y.Event.attach not working on Microsoft Edge

Received Response
13
Views
1
Comments
edited Jan 22, 2020 6:09PM in Customer Portal 1 comment

Summary

The event attach is not working on Microsoft Edge

Content

Hi All,

I have a widget that is using a YUI component and, at some point, an event is being added to control the change over an input fiel (see code snippet below).

I have noticed that this is not working on Microsoft Edge as I can see that the event is not being triggered like it is on other browsers like Chrome or Firefox.

Is there any known limitation on using YUI components on Microsoft Edge?

 

Thank you.

Regards,

Ricardo Pires

 

 

Version

3.6

Code Snippet

RightNow.namespace('Custom.Widgets.input.ModelNumberSelection');
Custom.Widgets.input.ModelNumberSelection = RightNow.Widgets.extend({
  var: previousModelNumber = "",
  constructor: function () {
    selectedProductField = this.Y.one("#selectedProduct");
      this.displayedModelNumberInput = this.Y.one("#modelNumber" + this.instanceID);
      this.Y.Event.addListener(this.displayedModelNumberInput, "change", this.validateModelNumberTextValue, null, this);
  },

...

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!