Fix missing preview widget for color inputs (#3297)
This commit is contained in:
parent
57090af3f8
commit
97f0aad52f
1 changed files with 1 additions and 1 deletions
|
@ -296,13 +296,13 @@ function tag_form_dialog(id)
|
||||||
color_input.val(tag.color.replace(/^#/, ''));
|
color_input.val(tag.color.replace(/^#/, ''));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
color_input.miniColors({colorValues: rcmail.env.mscolors});
|
|
||||||
|
|
||||||
// display form
|
// display form
|
||||||
form.children().hide();
|
form.children().hide();
|
||||||
form.append(content);
|
form.append(content);
|
||||||
content.append([name_label, name_input, '<br>', color_label, color_input]).show();
|
content.append([name_label, name_input, '<br>', color_label, color_input]).show();
|
||||||
name_input.focus();
|
name_input.focus();
|
||||||
|
color_input.miniColors({colorValues: rcmail.env.mscolors});
|
||||||
}
|
}
|
||||||
|
|
||||||
// save tags form (create/update/delete tags)
|
// save tags form (create/update/delete tags)
|
||||||
|
|
Loading…
Add table
Reference in a new issue