Univention Bugzilla – Attachment 4188 Details for
Bug 25710
Domäne für SSL email wird nicht automatisch übernommen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
univention-system-setup.patch
ss.patch (text/plain), 1.54 KB, created by
Florian Best
on 2012-02-17 10:31:55 CET
(
hide
)
Description:
univention-system-setup.patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2012-02-17 10:31:55 CET
Size:
1.54 KB
patch
obsolete
>Index: umc/js/_setup/CertificatePage.js >=================================================================== >--- umc/js/_setup/CertificatePage.js (Revision 30950) >+++ umc/js/_setup/CertificatePage.js (Arbeitskopie) >@@ -50,6 +50,9 @@ > > umcpCommand: umc.tools.umcpCommand, > >+ // the parent instance >+ setup: null, >+ > // internal reference to the formular containing all form widgets of an UDM object > _form: null, > >@@ -137,6 +140,22 @@ > > this.addChild(this._form); > >+ // actualize ssl/email on FQDN changes >+ var cache = false; >+ var emailWidget = this._form.getWidget('ssl/email'); >+ var sslemail = this.connect(this.setup._pages[2]._form.getWidget('fqdn'), 'onChange', function(newVal) { >+ if(false === cache) { >+ cache = this._orgVals['ssl/email']; >+ } >+ if( emailWidget.get('value') === cache) { >+ var email = 'ssl@' + newVal.split('.').slice(1).join('.'); >+ emailWidget.set('value', email); >+ cache = email; >+ } else { >+ this.disconnect(sslemail); >+ } >+ }); >+ > var countryWidget = this._form.getWidget('ssl/country'); > var _addCurrentCountry = function() { > if (countryWidget.focused) { >Index: umc/js/setup.js >=================================================================== >--- umc/js/setup.js (Revision 30955) >+++ umc/js/setup.js (Arbeitskopie) >@@ -146,6 +146,7 @@ > var ipage = new Class({ > umcpCommand: dojo.hitch(this, 'umcpCommand'), > footerButtons: buttons, >+ setup: this, > moduleFlavor: this.moduleFlavor, > onSave: dojo.hitch(this, function() { > if (i < visiblePages.length - 1) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25710
: 4188