show noty message longer in case of an error

This commit is contained in:
Uwe Steinmann 2018-04-11 10:20:27 +02:00
parent e592d0e3d0
commit 5064c24388

View File

@ -82,11 +82,11 @@ function check_queue() {
$('#status_'+data.data).html('<?php printMLText('index_error'); ?>'); $('#status_'+data.data).html('<?php printMLText('index_error'); ?>');
noty({ noty({
text: data.message, text: data.message,
type: (data.success) ? 'success' : 'error', type: 'error',
dismissQueue: true, dismissQueue: true,
layout: 'topRight', layout: 'topRight',
theme: 'defaultTheme', theme: 'defaultTheme',
timeout: 1500, timeout: 25000,
}); });
} }
}, },