Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var alrt = Ext.Msg.alert("titolo", "This alert will close in 3 seconds");
- setTimeout(function (tgt) {
- if (!tgt.hidden) {
- tgt.close();
- } else {
- // alert is already closed.
- }
- }, 3000, alrt);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement