summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2008-06-20 09:34:36 +0000
committerdeva <deva>2008-06-20 09:34:36 +0000
commit84c884f28ece21c13708929093b8ed670f870efd (patch)
tree2456b063cb64e5e9aacc7f7c5583e7ea57cfd069 /server
parent8c3994b02e3a0cf81ead56c8dcfefb67be078328 (diff)
Changed internal tagname attribute from 'type' to 'tagname'.
Diffstat (limited to 'server')
-rw-r--r--server/src/widgetgenerator.cc4
1 files changed, 2 insertions, 2 deletions
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 &macro,
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 &macro,
result += send_macro_widget(macro, *w, tabs + " ", mapper, values);
w++;
}
- result += tabs + "</" + widget.attributes["type"] + ">\n";
+ result += tabs + "</" + widget.attributes["tagname"] + ">\n";
return result;
}