Univention Bugzilla – Attachment 7091 Details for
Bug 39109
User wizard does not complete
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix error
bug39109.patch (text/plain), 1.87 KB, created by
Alexander Kläser
on 2015-08-07 18:04 CEST
(
hide
)
Description:
Patch to fix error
Filename:
MIME Type:
Creator:
Alexander Kläser
Created:
2015-08-07 18:04 CEST
Size:
1.87 KB
patch
obsolete
>diff --git a/management/univention-management-console-frontend/umc/widgets/Button.js b/management/univention-management-console-frontend/umc/widgets/Button.js >index af539ba..938a2f0 100644 >--- a/management/univention-management-console-frontend/umc/widgets/Button.js >+++ b/management/univention-management-console-frontend/umc/widgets/Button.js >@@ -95,19 +95,16 @@ define([ > }, > > _setDescriptionAttr: function(description) { >- if (description && this.handlesTooltips) { >+ if (!this._tooltip) { >+ // create the tooltip for the first time > this._tooltip = new Tooltip({ > label: description, > connectId: [ this.domNode ] > }); >- // destroy the tooltip when the widget is destroyed > this.own(this._tooltip); >- } else { >- if (this._tooltip) { >- //deactivate tooltip >- this._tooltip.set('label', ''); >- } > } >+ >+ this._tooltip.set('label', description || ''); > } > > }); >diff --git a/management/univention-management-console-frontend/umc/widgets/Uploader.js b/management/univention-management-console-frontend/umc/widgets/Uploader.js >index f75f33c..cfec073 100644 >--- a/management/univention-management-console-frontend/umc/widgets/Uploader.js >+++ b/management/univention-management-console-frontend/umc/widgets/Uploader.js >@@ -326,19 +326,16 @@ define([ > > > _setDescriptionAttr: function(description) { >- if (description && this.handlesTooltips) { >+ if (!this._tooltip) { >+ // create the tooltip for the first time > this._tooltip = new Tooltip({ > label: description, > connectId: [ this.domNode ] > }); >- // destroy the tooltip when the widget is destroyed >- this.own(this.tooltip); >- } else { >- if (this._tooltip) { >- //deactivate tooltip >- this._tooltip.set('label', ''); >- } >+ this.own(this._tooltip); > } >+ >+ this._tooltip.set('label', description || ''); > }, > > _setDisabledAttr: function(newVal) {
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 39109
:
7090
| 7091