You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
Hi Jonathan, I am using simpledialog2 already for two days. Works pretty nice. However I have this issue with the callbackClose. This is called twice at clicking a button. For instance if in your example I just add a simple log, it appears twice. Could you please have a look at it?
All I did is just:
callbackClose: function () {
console.log( mylog.text );
}
cheers
PS: I figured that the followin test actually messes stuff up in my case. Line 290:
retty = self.options.callbackClose.apply(self, self.options.callbackCloseArgs);
since it causes the callback to be launched. For the moment I turned it off (I know it is not clever) I cannot afford in my specific case to apply my callback twice.
PPS: I will make a new issue.
The text was updated successfully, but these errors were encountered:
Hi Jonathan, I am using simpledialog2 already for two days. Works pretty nice. However I have this issue with the callbackClose. This is called twice at clicking a button. For instance if in your example I just add a simple log, it appears twice. Could you please have a look at it?
All I did is just:
callbackClose: function () {
console.log( mylog.text );
}
cheers
PS: I figured that the followin test actually messes stuff up in my case. Line 290:
retty = self.options.callbackClose.apply(self, self.options.callbackCloseArgs);
since it causes the callback to be launched. For the moment I turned it off (I know it is not clever) I cannot afford in my specific case to apply my callback twice.
PPS: I will make a new issue.
The text was updated successfully, but these errors were encountered: