Author: ralfbecker
New Revision: 55575
URL: http://svn.stylite.de/viewvc/egroupware?rev=55575&view=rev
Log:
implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type=“checkbox”], as it is covered by the standard case
Modified:
trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js
trunk/egroupware/api/js/etemplate/et2_widget_description.js
trunk/egroupware/api/js/etemplate/et2_widget_link.js
trunk/egroupware/api/js/etemplate/et2_widget_textbox.js
trunk/egroupware/api/templates/default/etemplate2.css
— trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js Thu Mar 31 15:05:03 2016
@@ -2873,8 +2873,10 @@
this.label = _value;
this.labelNode.text(_value);
});}).call(this);
et2_register_widget(et2_nextmatch_header, [‘nextmatch-header’]);
— trunk/egroupware/api/js/etemplate/et2_widget_description.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_description.js Thu Mar 31 15:05:03 2016
@@ -182,6 +182,9 @@
this._labelContainer.append(ph);
}
}
+
-
// add class if label is empty
-
this._labelContainer.toggleClass('et2_label_empty', !_value || !parts[0]);
}
else
{
— trunk/egroupware/api/js/etemplate/et2_widget_link.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_link.js Thu Mar 31 15:05:03 2016
@@ -1118,6 +1118,9 @@
this.label_span.prepend(parts[0]);
this.label_span.append(parts[1]);
this.label = label;
+
— trunk/egroupware/api/js/etemplate/et2_widget_textbox.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_textbox.js Thu Mar 31 15:05:03 2016
@@ -354,6 +354,9 @@
this.span.prepend(parts[0]);
this.span.append(parts[1]);
this.label = label;
+
— trunk/egroupware/api/templates/default/etemplate2.css (original)
+++ trunk/egroupware/api/templates/default/etemplate2.css Thu Mar 31 15:05:03 2016
@@ -151,7 +151,7 @@
label.et2_label > * {
margin-left: 5px !important;
}
-label.et2_label > input[type=“checkbox”], label.et2_label.et2_label_empty > * {
+label.et2_label.et2_label_empty > * {
margin-left: 0 !important;
}
#msg,
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs