Don't need to set ID, framework does it automagically.

This commit is contained in:
Nathan Gray 2013-07-17 12:32:36 +00:00
parent c439cfbc72
commit f9b72b05ac

View File

@ -59,7 +59,7 @@ var et2_color = et2_inputWidget.extend(
this._super.apply(this, arguments);
this.egw().includeCSS("phpgwapi/js/jquery/jpicker/css/jPicker-1.1.6.min.css");
this.input = this.$node = jQuery(document.createElement("span")).attr("id", this.options.id);
this.input = this.$node = jQuery(document.createElement("span"));
// Translations
for(var key in jQuery.fn.jPicker.defaults.localization.text)