Univention Bugzilla – Attachment 4458 Details for
Bug 27601
FQDN Feld im system-setup leert sich
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Handler wurde quasi ersatzlos gestrichen
fqdnTouched.patch (text/plain), 2.21 KB, created by
Dirk Wiesenthal
on 2012-06-21 13:57 CEST
(
hide
)
Description:
Handler wurde quasi ersatzlos gestrichen
Filename:
MIME Type:
Creator:
Dirk Wiesenthal
Created:
2012-06-21 13:57 CEST
Size:
2.21 KB
patch
obsolete
>Index: umc/js/_setup/BasisPage.js >=================================================================== >--- umc/js/_setup/BasisPage.js (Revision 33668) >+++ umc/js/_setup/BasisPage.js (Arbeitskopie) >@@ -57,8 +57,8 @@ > // internal reference to the formular containing all form widgets of an UDM object > _form: null, > >- // state of fqdn field >- _fqdnTouched: false, >+ // internal flag whether setValues() has been called at least once or not >+ _firstSetValues: true, > > postMixInProperties: function() { > this.inherited(arguments); >@@ -126,13 +126,6 @@ > this.disconnect(fc); > }); > >- if (this.wizard_mode) { >- var c = dojo.connect(this._form.getWidget('fqdn'), 'onKeyUp', dojo.hitch(this, function() { >- this._fqdnTouched = true; >- dojo.disconnect(c); >- })); >- } >- > this.addChild(this._form); > }, > >@@ -160,9 +153,9 @@ > } > }); > >- _set('fqdn', !this.wizard_mode && role != 'basesystem', true, this.wizard_mode && !this._fqdnTouched); >- _set('windows/domain', !this.wizard_mode && role != 'basesystem', role != 'basesystem', this.wizard_mode && !this._fqdnTouched); >- _set('ldap/base', !this.wizard_mode && role != 'basesystem', role != 'basesystem', this.wizard_mode && !this._fqdnTouched, role == 'domaincontroller_master' || role == 'basesystem'); >+ _set('fqdn', !this.wizard_mode && role != 'basesystem', true, this.wizard_mode && this._firstSetValues); >+ _set('windows/domain', !this.wizard_mode && role != 'basesystem', role != 'basesystem', this.wizard_mode && this._firstSetValues); >+ _set('ldap/base', !this.wizard_mode && role != 'basesystem', role != 'basesystem', this.wizard_mode && this._firstSetValues, role == 'domaincontroller_master' || role == 'basesystem'); > _set('root_password', false, this.wizard_mode && !this.local_mode); > > if (role != 'basesystem' && this.wizard_mode) { >@@ -188,6 +181,7 @@ > > this._form.setFormValues(vals); > this._form.getWidget('fqdn').set('blockOnChange', false); >+ this._firstSetValues = false; > }, > > getValues: function() { >@@ -197,7 +191,6 @@ > vals.domainname = parts.slice(1).join('.'); > delete vals.fqdn; > >- var role = vals['server/role']; > if (!this._form.getWidget('ldap/base').get('visible')) { > // remove the ldap/base entry > delete vals['ldap/base'];
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 27601
: 4458