forked from shaba/openuds
Removed debug from configuration.html
fixed "publish on creation" switch
This commit is contained in:
parent
500347d878
commit
b3e2d2264a
@ -124,7 +124,7 @@ class OVirtLinkedDeployment(UserDeployment):
|
||||
:note: This IP is the IP of the "consumed service", so the transport can
|
||||
access it.
|
||||
'''
|
||||
logger.debug('Setting IP to %s' % ip)
|
||||
logger.debug('Setting IP to {}'.format(ip))
|
||||
self._ip = ip
|
||||
|
||||
def getUniqueId(self):
|
||||
|
@ -59,7 +59,9 @@ gui.servicesPools.link = (event) ->
|
||||
$cacheL2Fld.prop "disabled", "disabled"
|
||||
else
|
||||
$cacheL2Fld.prop "disabled", false
|
||||
$publishOnSaveFld.bootstrapSwitch "toggleReadonly", data.info.needs_publication
|
||||
gui.doLog "Needs publication?", data.info.needs_publication, $publishOnSaveFld
|
||||
if $publishOnSaveFld.bootstrapSwitch("readonly") is data.info.needs_publication
|
||||
$publishOnSaveFld.bootstrapSwitch "toggleReadonly", true
|
||||
$osmFld.selectpicker "refresh" if $osmFld.hasClass("selectpicker")
|
||||
return
|
||||
|
||||
|
@ -44,7 +44,6 @@
|
||||
<input type="password" class="form-control config-ctrl" data-section="{{ cfg_section }}" data-key="{{ cfg_key }}" value="€fa{}#42123~#||23|ßðđæ">
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ value.type }}
|
||||
{{# ifequals value.type 1 }}
|
||||
<textarea class="form-control" data-section="{{ cfg_section }}" data-key="{{ cfg_key }}" rows="3">{{ value.value }}</textarea>
|
||||
{{ else }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user