PDA

View Full Version : [CLOSED] [2.2 Trunk] JS Exception placing focus on Textbox with tooltip



michaeld
Jun 03, 2013, 7:43 AM
Again in /extnet/extnet-all-debug-js on line 10750


w.on("render", function () {
if (this.autoHide) {
this.el.on("mouseover", mOver, this);
this.el.on("mouseout", mOut, this);


if (this.header) {
this.tools.close.hide(); //<--- here! hide is not a member of close
}
}

RCN
Jun 03, 2013, 12:42 PM
Please post a complete (but simplified) code sample demonstrating how to reproduce the issue.

Daniil
Jun 03, 2013, 1:11 PM
Hi,

I think this reproduces the issue.


Ext.net.Notification.show({
autoHide: true,
closable: false,
title: "title"
});

The fix has been committed to the SVN trunk. Please update.

michaeld
Jun 04, 2013, 11:44 PM
Thank you daniil for looking closely at the javascript code to figure out how to reproduce. It's not always easy for me to draw out a sample condition. It can take some serious time to roll out each condition. I figured if I showed exactly where it was trapping, it was obvious enough in the javascript for you guys to evaluate scenarios that probably produce the condition based on where it exceptioned. In this case and last, that seems to be correct. Thank you for taking the time to consider how instead of jumping to requesting a sample. :D

michaeld
Jun 05, 2013, 12:37 AM
Verified. You may Close.

Daniil
Jun 05, 2013, 6:22 AM
Yes, sometimes it is enough just to point us to JavaScript code where an error occurs, but sometimes it is not and we requests a sample.

Well, we are just doing our best:)