[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/storage storage_utils.js



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-09-26 21:36:08

Modified files:
	luci/storage   : storage_utils.js 

Log message:
	Strip leading whitespace from storage error messages

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/storage/storage_utils.js.diff?cvsroot=cluster&r1=1.2&r2=1.3

--- conga/luci/storage/storage_utils.js	2007/09/25 22:47:05	1.2
+++ conga/luci/storage/storage_utils.js	2007/09/26 21:36:08	1.3
@@ -43,7 +43,7 @@
 				var m = '';
 				if (res[0] == "FAILURE") {
 					err_url = res[1];
-					m = res[2];
+					m = strip_left(res[2]);
 				} else {
 					m = msg;
 				}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]