Problem/Motivation

When we change the timeout duration in the configuration settings, it does not reflect.
Even though we set any timeout duration, it considers the default 5000ms duration all the time.

Steps to reproduce

  • Install the module
  • Go to the configuration page /admin/config/system/toastr, change Timeout duration.
  • Get a stopwatch to check the time
  • Now save the configuration and check the actual timeout duration.

Toastr timeout

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork toastr-3271139

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

AkshayAdhav created an issue. See original summary.

chakkche’s picture

Assigned: Unassigned » chakkche

I will work on this.

chakkche’s picture

Corrected the js file with appropriate timeout variable.

chakkche’s picture

Assigned: chakkche » Unassigned
Status: Active » Needs review
omkar-pd’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch and it is working fine.

omkar-pd’s picture

  • omkar-pd committed 8a3970d on 8.x-1.x
    Issue #3271139 by chakkche, AkshayAdhav, omkar-pd: Timeout configuration...
omkar-pd’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.