Univention Bugzilla – Attachment 8882 Details for
Bug 43019
Start of exam mode is extremely slow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
43019.patch (text/plain), 1.38 KB, created by
Florian Best
on 2017-05-24 18:57 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-05-24 18:57 CEST
Size:
1.38 KB
patch
obsolete
>diff --git a/ucs-school-umc-exam/umc/js/schoolexam.js b/ucs-school-umc-exam/umc/js/schoolexam.js >index 5a783ba..78fa9af 100644 >--- a/ucs-school-umc-exam/umc/js/schoolexam.js >+++ b/ucs-school-umc-exam/umc/js/schoolexam.js >@@ -642,24 +642,23 @@ define([ > // start the exam > var values = this.getValues(); > var preparationDeferred = new Deferred(); >- this.umcpCommand('schoolexam/exam/start', values).then(undefined, function() { >+ this.standbyDuring(this.umcpCommand('schoolexam/exam/start', values)).then(lang.hitch(this, function() { >+ this.standby(true, this._progressBar); >+ this._progressBar.auto( >+ 'schoolexam/progress', >+ {}, >+ lang.hitch(this, '_preparationFinished', preparationDeferred), >+ undefined, >+ undefined, >+ true, >+ preparationDeferred >+ ); >+ }), function() { > preparationDeferred.cancel(); > }); > > // initiate the progress bar > this._progressBar.reset(_('Starting the configuration process...' )); >- this.standby(false); >- this.standby(true, this._progressBar); >- this._progressBar.auto( >- 'schoolexam/progress', >- {}, >- lang.hitch(this, '_preparationFinished', preparationDeferred), >- undefined, >- undefined, >- true, >- preparationDeferred >- ); >- > preparationDeferred.then(lang.hitch(this, function() { > // everything fine open the computerroom and close the exam wizard > this.standby(false);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 43019
:
8858
| 8882