Docker: fixed basic/advanced switch when adding a new container

This commit is contained in:
bergware
2020-05-01 10:17:23 +02:00
parent ea633936fb
commit 7386cad1a2
@@ -667,7 +667,6 @@ $(function() {
var status = $(this).is(':checked');
toggleRows('advanced', status, 'basic');
load_contOverview();
$("#catSelect").dropdownchecklist("destroy");
$("#catSelect").dropdownchecklist({emptyText:'_(Select categories)_...', maxDropHeight:200, width:300, explicitClose:'..._(close)_'});
});
});
@@ -760,7 +759,7 @@ _(Repository)_:
<div markdown="1" class="<?=$authoring?>">
_(Categories)_:
: <input type="hidden" name="contCategory">
<select id="catSelect" size="1" multiple="multiple" style="display:none" onchange="prepareCategory();">
<select id="catSelect" multiple="multiple" style="display:none" onchange="prepareCategory();">
<optgroup label="_(Categories)_">
<option value="Backup:">_(Backup)_</option>
<option value="Cloud:">_(Cloud)_</option>