Author: hnategh
New Revision: 56010
URL: http://svn.stylite.de/viewvc/egroupware?rev=56010&view=rev
Log:
Implement set_disabled for select widget with tags enabled
Modified:
trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js
— trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js Wed May 4 16:29:44 2016
@@ -832,6 +832,32 @@
{
return this._super.apply(this, arguments);
}
- },
-
- /**
-
- override set disabled for tags as the tags using
-
- chosen dom and need to be treated different
-
-
-
- */
- set_disabled: function (_disable)
- {
-
this._super.apply(this, arguments);
-
-
if (this.options.tags) {
-
// Always hide input options
-
this.input.hide();
-
-
if (_disable)
-
{
-
jQuery(this.node.nextElementSibling).hide();
-
}
-
else
-
{
-
jQuery(this.node.nextElementSibling).show();
-
}
-
}
}
});}).call(this);
et2_register_widget(et2_selectbox, [“menupopup”, “listbox”, “select”, “select-cat”,
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs