Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
Hey did you guys ever find a way to globally change how long toastr renders when fired?
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Find this code in the admin app.js file. This is the global configuration for toastr. You can change the timeOut value to change how long toastr renders when fired Code:/* toastr global configurations for success, warning and error messages */
$(function () {
toastr.options = {
closeButton: false,
debug: 'false',
progressBar: 'true',
showDuration: "400",
hideDuration: "500",
timeOut: "1500",
extendedTimeOut: "100",
positionClass: 'toast-top-right',
onclick: null
};
});
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
you ROCK! Exactly what I needed, thanks!
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close