felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1660639 - /felix/trunk/webconsole/src/main/resources/res/ui/bundles.js
Date Wed, 18 Feb 2015 14:51:06 GMT
Author: davidb
Date: Wed Feb 18 14:51:06 2015
New Revision: 1660639

URL: http://svn.apache.org/r1660639
Log:
FELIX 4800 Fix 405 error when filter results in empty table.

Modified:
    felix/trunk/webconsole/src/main/resources/res/ui/bundles.js

Modified: felix/trunk/webconsole/src/main/resources/res/ui/bundles.js
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/resources/res/ui/bundles.js?rev=1660639&r1=1660638&r2=1660639&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/resources/res/ui/bundles.js (original)
+++ felix/trunk/webconsole/src/main/resources/res/ui/bundles.js Wed Feb 18 14:51:06 2015
@@ -60,7 +60,7 @@ function renderData( eventData, filter )
     initStaticWidgets();
 
 	var cv = getCookie("bundlelist");
-	if (cv) {
+	if (cv && bundlesTable.find("tr").size() > 1) {
 	    bundlesTable.trigger('sorton', [cv]);
 	}
 



Mime
View raw message