plugins/kolab_tags

Aleksander Machniak machniak at kolabsys.com
Tue Aug 12 17:25:23 CEST 2014


 plugins/kolab_tags/kolab_tags.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 97f0aad52fbd5bdc0335f7f56875aa3807f83fa8
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Tue Aug 12 08:07:54 2014 -0400

    Fix missing preview widget for color inputs (#3297)

diff --git a/plugins/kolab_tags/kolab_tags.js b/plugins/kolab_tags/kolab_tags.js
index 60da2dc..14d28e7 100644
--- a/plugins/kolab_tags/kolab_tags.js
+++ b/plugins/kolab_tags/kolab_tags.js
@@ -296,13 +296,13 @@ function tag_form_dialog(id)
             color_input.val(tag.color.replace(/^#/, ''));
         }
     }
-    color_input.miniColors({colorValues: rcmail.env.mscolors});
 
     // display form
     form.children().hide();
     form.append(content);
     content.append([name_label, name_input, '<br>', color_label, color_input]).show();
     name_input.focus();
+    color_input.miniColors({colorValues: rcmail.env.mscolors});
 }
 
 // save tags form (create/update/delete tags)




More information about the commits mailing list