]> saetta.ns0.it Git - zakform/cgi/commitdiff
Merge branch 'setattrs' into newnew newnew
authorAndrea Zagli <azagli@libero.it>
Tue, 10 Sep 2019 21:35:14 +0000 (23:35 +0200)
committerAndrea Zagli <azagli@libero.it>
Tue, 10 Sep 2019 21:35:14 +0000 (23:35 +0200)
12 files changed:
1  2 
src/formelement.c
src/formelement.h
src/formelementcheck.c
src/formelementemail.c
src/formelementfile.c
src/formelementhidden.c
src/formelementpassword.c
src/formelementradio.c
src/formelementselect.c
src/formelementsubmit.c
src/formelementtext.c
src/formelementtextarea.c

Simple merge
Simple merge
index 466d93b0a8af8852775fa800252e0e8a72b50c74,c7691d1eacd87a3336fb7f491f3f7c60bae1ae97..23479ab4091b6e72f99189a45b60715e0146a7ec
@@@ -236,11 -240,10 +236,11 @@@ static gcha
  
        klass = (ZakFormCgiFormElementClass *)g_type_class_peek_parent (ZAK_FORM_CGI_FORM_ELEMENT_CHECK_GET_CLASS (ZAK_FORM_CGI_FORM_ELEMENT_CHECK (element)));
  
-       ht_attrs = klass->get_ht_attrs (element);
+       ht_attrs = zak_form_cgi_form_element_get_attrs (ZAK_FORM_CGI_FORM_ELEMENT (element));
        ht_label_attrs = klass->get_ht_label_attrs (element);
  
 -      if (ht_label_attrs != NULL)
 +      if (ht_label_attrs != NULL
 +          && g_hash_table_lookup (ht_label_attrs, "zak-cgi-content") != NULL)
                {
                        str = g_string_new ("<br/>\n");
                }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge