picyka Posted April 10, 2022 Share Posted April 10, 2022 I really liked these animations on the buttons. I have been observing these errors in the console. Click on showForm then on Close. TestCase.zip Quote Link to comment Share on other sites More sharing options...
picyka Posted April 10, 2022 Author Share Posted April 10, 2022 Looks like I should use the OnReady method Quote Link to comment Share on other sites More sharing options...
picyka Posted April 10, 2022 Author Share Posted April 10, 2022 Taking the code to the ready event, the animation doesn't stop by itself. 😪 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 10, 2022 Share Posted April 10, 2022 Hello, What should we check? Quote Link to comment Share on other sites More sharing options...
picyka Posted April 10, 2022 Author Share Posted April 10, 2022 2 minutes ago, Sherzod said: Hello, What should we check? I would like to have this code in one place, as it is today, but I would not like to receive the error in the console. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 10, 2022 Share Posted April 10, 2022 2 hours ago, picyka said: I would like to have this code in one place, as it is today, but I would not like to receive the error in the console. Dirty workaround: Self.ClientEvents.UniEvents.Values['ajaxCallback'] := 'function ajaxCallback(sender, response) { try {sender.setDisabled(false)} catch(err){}; }'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.