Merge branch 'ent-12520-errores-en-formularios-de-los-dashboards' into 'develop'
Ent 12520 errores en formularios de los dashboards See merge request artica/pandorafms!6718
This commit is contained in:
commit
f560ae8d56
|
@ -50,14 +50,14 @@ function update_dashboard(data) {
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
function showGroup() {
|
function showGroup() {
|
||||||
$("#li-group").removeClass("hidden");
|
$("#li-group_form").removeClass("hidden");
|
||||||
var private = $("#private").prop("checked");
|
var private = $("#private").prop("checked");
|
||||||
if (private) {
|
if (private) {
|
||||||
$("#id_group").removeAttr("required");
|
$("#id_group").removeAttr("required");
|
||||||
$("#li-group").hide();
|
$("#li-group_form").hide();
|
||||||
} else {
|
} else {
|
||||||
$("#id_group").attr("required", true);
|
$("#id_group").attr("required", true);
|
||||||
$("#li-group").show();
|
$("#li-group_form").show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -255,7 +255,7 @@ ul.wizard li > textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.modal-dashboard ul.wizard li.hidden,
|
form.modal-dashboard ul.wizard li.hidden,
|
||||||
|
|
|
@ -84,7 +84,7 @@ $inputs = [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'block_id' => 'group',
|
'block_id' => 'group_form',
|
||||||
'direct' => 1,
|
'direct' => 1,
|
||||||
'hidden' => $private,
|
'hidden' => $private,
|
||||||
'block_content' => [
|
'block_content' => [
|
||||||
|
|
Loading…
Reference in New Issue