Skip to contentSkip to conversation

conga/luci/storage storage_utils.js

Cluster-devel [email protected] 1 participant 1 message Sep 26, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at 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

luci/storage/storage_utils.js +1 -1
@@ -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;
 				}