From: helge Date: Sat, 12 Feb 2005 20:38:42 +0000 (+0000) Subject: fixed .wox files to generate a WOGenericElement instead of a WOSubmitButton for ... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728bfb47746b7635e66b89086fae9720ee13c63a;p=sope fixed .wox files to generate a WOGenericElement instead of a WOSubmitButton for git-svn-id: http://svn.opengroupware.org/SOPE/trunk@552 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index ee0e6b72..833309e1 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,3 +1,8 @@ +2005-02-12 Helge Hess + + * DynamicElements/WOxHTMLElemBuilder.m: create a WOGenericElement + instead of WOSubmitButton for "input type='button'" (v4.5.114) + 2005-02-04 Helge Hess * WOApplication.m: added a warning if the default component request diff --git a/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m b/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m index 4e24b02a..a9af77fa 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m +++ b/sope-appserver/NGObjWeb/DynamicElements/WOxHTMLElemBuilder.m @@ -107,11 +107,8 @@ return NSClassFromString(@"WOSubmitButton"); else if (c1 == 'h' && [type isEqualToString:@"hidden"]) return NSClassFromString(@"WOHiddenField"); - else if (c1 == 'b' && [type isEqualToString:@"button"]) { - [self warnWithFormat:@"selecting WOSubmitButton for " - @"input with type 'button' !"]; - return NSClassFromString(@"WOSubmitButton"); - } + else if (c1 == 'b' && [type isEqualToString:@"button"]) + return NSClassFromString(@"WOGenericElement"); break; case 8: diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index fe816bee..1ad5ef21 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=113 +SUBMINOR_VERSION:=114 # v4.5.91 requires libNGExtensions v4.5.134 # v4.5.84 requires libNGExtensions v4.5.127