diff options
author | deva <deva> | 2008-06-20 09:34:36 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-20 09:34:36 +0000 |
commit | 84c884f28ece21c13708929093b8ed670f870efd (patch) | |
tree | 2456b063cb64e5e9aacc7f7c5583e7ea57cfd069 /server/src/widgetgenerator.cc | |
parent | 8c3994b02e3a0cf81ead56c8dcfefb67be078328 (diff) |
Changed internal tagname attribute from 'type' to 'tagname'.
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r-- | server/src/widgetgenerator.cc | 4 |
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 ¯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 + "</" + widget.attributes["type"] + ">\n"; + result += tabs + "</" + widget.attributes["tagname"] + ">\n"; return result; } |