|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 02 > 28 > Telegram_2019-02-28T11 |
2019-02-28T11:22:19
type: link https://doc.atozed.com/en/iw17/lang/javascript/tutorial/jqueryui/
2019-02-28T11:27:34
Hi. How can i make a change to iwcommon.js and test this. Can include the resource in some way in my test project?
2019-02-28T11:28:25
Change IWCommon for what? I'm not following what you want to do.
2019-02-28T11:29:04
Maybe a bugfix... but i am not sure yet
2019-02-28T11:30:32
in the SC there is an option to use external JS files instead of from internal .res. Its used during debugging but can be used in the same case you seek.
2019-02-28T11:33:54
Will give it a try. Can I post a small code sample from iwcommon here?
2019-02-28T11:34:57
yes
2019-02-28T11:35:32
IWCL_HookEvent: function(eventName, eventHandler) {
var i = IW.Events.findByName(eventName);
logMessage(\IWCL_HookEvent(): eventName = \ + eventName);
if (this.IEEventHandlers[i] == null) {
this.IEEventHandlers[i] = [];
var xEventName = \on\ + eventName;
if (this[xEventName] != null) {
this.IEEventHandlers[0] = this[xEventName]
}
2019-02-28T11:36:44
The last line stores the original event listener. at least thats the intention i think. But should that be this.IEEventHandlers[i][0] = this[xEventName]
2019-02-28T11:37:33
This is a ? for type: mention @Alex7691 . He isn't online now but can you post it on our forums so I can more easily bring it to his attention?
Which IW version is this?
2019-02-28T11:39:15
Sure. I tested it today with IW15.0.17 and IW15.0.18. I think the code is inplace a long time that's why I am also not sure.
2019-02-28T11:39:35
I continue in a forum post.
2019-02-28T11:40:17
Thanks. Send me the URL after you post on the forums and Ill alert Alex, otherwise I'll see it when I check forums again but I usually only do that 1-2x a day.