YammerImport admin UI now auto-refreshes during running BG progress, whee
This commit is contained in:
parent
62d9b66dff
commit
91f25ca817
@ -19,7 +19,16 @@ class YammerProgressForm extends Form
|
||||
*/
|
||||
function formClass()
|
||||
{
|
||||
return 'form_settings';
|
||||
$classes = array('form_settings');
|
||||
$runner = YammerRunner::init();
|
||||
if ($runner->lastError()) {
|
||||
$classes[] = 'import-error';
|
||||
} else if ($runner->state() == 'done') {
|
||||
$classes[] = 'import-done';
|
||||
} else {
|
||||
$classes[] = 'import-progress';
|
||||
}
|
||||
return implode(' ', $classes);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user