Author: jleroux
Date: Mon May 3 12:06:02 2010
New Revision: 940425
URL:
http://svn.apache.org/viewvc?rev=940425&view=revLog:
A patch from Sascha Rodekamp "Missing Buttons on LookUp Search" (
https://issues.apache.org/jira/browse/OFBIZ-3745) - OFBIZ-3745
This fixes the calendar issue in bluelight and remove the (X) button that broke the calendar layout (strangely was only from layered lookups)
Modified:
ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js
ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
Modified: ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js?rev=940425&r1=940424&r2=940425&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/calendarDateSelect/calendar_date_select.js Mon May 3 12:06:02 2010
@@ -166,7 +166,9 @@ CalendarDateSelect.prototype = {
},
initHeaderDiv: function() {
var header_div = this.header_div;
- this.close_button = header_div.build("a", { innerHTML: "x", href:"#", onclick:function () { this.close(); return false; }.bindAsEventListener(this), className: "close" });
+ // mod for ofbiz
+ //this.close_button = header_div.build("a", { innerHTML: "x", href:"#", onclick:function () { this.close(); return false; }.bindAsEventListener(this), className: "close" });
+ // end mod
this.next_month_button = header_div.build("a", { innerHTML: ">", href:"#", onclick:function () { this.navMonth(this.date.getMonth() + 1 ); return false; }.bindAsEventListener(this), className: "next" });
this.prev_month_button = header_div.build("a", { innerHTML: "<", href:"#", onclick:function () { this.navMonth(this.date.getMonth() - 1 ); return false; }.bindAsEventListener(this), className: "prev" });
Modified: ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css?rev=940425&r1=940424&r2=940425&view=diff==============================================================================
--- ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css (original)
+++ ofbiz/trunk/themes/bluelight/webapp/bluelight/style.css Mon May 3 12:06:02 2010
@@ -2242,15 +2242,15 @@ Lookups
}
#fieldLookupContent td span a {
- background: url(/bluelight/images/application_view_list.png) no-repeat;
display: inline-block;
}
+
#fieldLookupContent td span div a {
background: none;
+ padding: 0px;
}
#fieldLookupContent td a {
- background: none;
cursor: pointer;
padding: 0.4em 0.6em;
display: inline;
Modified: ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css?rev=940425&r1=940424&r2=940425&view=diff==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css (original)
+++ ofbiz/trunk/themes/droppingcrumbs/webapp/droppingcrumbs/css/style.css Mon May 3 12:06:02 2010
@@ -2223,6 +2223,10 @@ Lookups
display: inline-block;
}
+ #fieldLookupContent td span div a {
+ padding: 0px;
+ }
+
#fieldLookupContent td a {
background: none;
cursor: pointer;