[eGroupWare-svn] r56135 - /trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js

[email protected] Wed, 11 May 2016 20:14:14 -0000
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Wed May 11 22:14:14 2016
New Revision: 56135

URL: http://svn.stylite.de/viewvc/egroupware?rev=56135&view=rev
Log:
Fix up the filterheader sizing to better fit in the nm header

Modified:
    trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js

Modified: trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js?rev=56135&r1=56134&r2=56135&view=diff
==============================================================================
--- trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js Wed May 11 22:14:14 2016
@@ -3275,7 +3275,7 @@
 				this.nextmatch.applyFilters({col_filter: col_filter});
 			}
 		},
-		rows: { default: 3}
+		rows: { default: 2}
 	},
 
 	/**
@@ -3326,7 +3326,9 @@
 
 	// Make sure selectbox is not longer than the column
 	resize: function() {
+		this.div.css("height",'');
 		this.div.css("max-width",jQuery(this.parentNode).innerWidth() + "px");
+		this._super.apply(this, arguments);
 	}
 
 });}).call(this);
@@ -3394,13 +3396,8 @@
 	},
 	// Make sure selectbox is not longer than the column
 	resize: function() {
-		var max = jQuery(this.parentNode).innerWidth() - 4;
-		var surroundings = this.getSurroundings()._widgetSurroundings;
-		for(var i = 0; i < surroundings.length; i++)
-		{
-			max -= jQuery(surroundings[i]).outerWidth();
-		}
-		this.div.css("max-width",max + "px");
+		this.div.css("max-width",jQuery(this.parentNode).innerWidth() + "px");
+		this._super.apply(this, arguments);
 	}
 
 });}).call(this);


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j