From 84c884f28ece21c13708929093b8ed670f870efd Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 20 Jun 2008 09:34:36 +0000 Subject: Changed internal tagname attribute from 'type' to 'tagname'. --- server/src/widgetgenerator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc index 43b202f..4061600 100644 --- a/server/src/widgetgenerator.cc +++ b/server/src/widgetgenerator.cc @@ -37,7 +37,7 @@ static std::string send_macro_widget(Macro ¯o, std::string prefilled; time_t timestamp = 0; - result = tabs + "<" + widget.attributes["type"]; + result = tabs + "<" + widget.attributes["tagname"]; std::map< std::string, std::string >::iterator p = widget.attributes.begin(); // Check if the field has a map, and fill in the value if it has... @@ -92,7 +92,7 @@ static std::string send_macro_widget(Macro ¯o, result += send_macro_widget(macro, *w, tabs + " ", mapper, values); w++; } - result += tabs + "\n"; + result += tabs + "\n"; return result; } -- cgit v1.2.3