Yaron Koren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/294360

Change subject: Fix for IDs and tab index for section inputs, from Seb35
......................................................................

Fix for IDs and tab index for section inputs, from Seb35

Change-Id: Ic416b8e0362d132a4c053c2ccae3b0dae57be2bc
---
M includes/SF_FormPrinter.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms 
refs/changes/60/294360/1

diff --git a/includes/SF_FormPrinter.php b/includes/SF_FormPrinter.php
index d1e3511..fda2287 100644
--- a/includes/SF_FormPrinter.php
+++ b/includes/SF_FormPrinter.php
@@ -1158,6 +1158,9 @@
                                // for section processing
                                // 
=====================================================
                                } elseif ( $tag_title == 'section' ) {
+                                       $sfgFieldNum++;
+                                       $sfgTabIndex++;
+
                                        $section_name = trim( 
$tag_components[1] );
                                        $page_section_in_form = 
SFPageSection::newFromFormTag( $tag_components );
                                        $section_text = null;

-- 
To view, visit https://gerrit.wikimedia.org/r/294360
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic416b8e0362d132a4c053c2ccae3b0dae57be2bc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to