Do not timeout error messages
This commit is contained in:
parent
7520ba52d8
commit
74a4a2b468
|
@ -470,8 +470,8 @@ var UI;
|
||||||
time = 1500;
|
time = 1500;
|
||||||
}
|
}
|
||||||
|
|
||||||
// A specified time of zero means no timeout
|
// Error messages do not timeout
|
||||||
if (time != 0) {
|
if (status_type !== 'error') {
|
||||||
UI.statusTimeout = window.setTimeout(UI.hideStatus, time);
|
UI.statusTimeout = window.setTimeout(UI.hideStatus, time);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue